mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Button ref binding and restProps spreading fixed
This commit is contained in:
parent
18130e0f75
commit
bc4a3cd439
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@
|
||||||
.join(" ");
|
.join(" ");
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Button bind:this="{ref}" class="{buttonClass}" {...$$restProps} on:click>
|
<Button bind:ref {...$$restProps} class="{buttonClass}" on:click>
|
||||||
<svelte:component this="{icon}" slot="icon" size="{20}" />
|
<svelte:component this="{icon}" slot="icon" size="{20}" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue