mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
refactor(ui-shell): use $$restProps, remove cx
This commit is contained in:
parent
e886d772c7
commit
1e5333dd64
26 changed files with 230 additions and 425 deletions
|
@ -2,6 +2,6 @@
|
|||
export let id = "main-content";
|
||||
</script>
|
||||
|
||||
<main {...$$props} {id} class:bx--content={true}>
|
||||
<main {id} class:bx--content={true} {...$$restProps}>
|
||||
<slot />
|
||||
</main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue