Skip to content

Commit

Permalink
Add restProps to ButtonGroup (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyates81 committed May 18, 2024
1 parent e217b83 commit 7fdf1eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cold-nails-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte-ux': patch
---

Adding $$restProps to ButtonGroup
2 changes: 1 addition & 1 deletion packages/svelte-ux/src/lib/components/ButtonGroup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@
});
</script>

<div role="group" class={_class} on:keydown on:keyup on:keypress on:click>
<div role="group" class={_class} on:keydown on:keyup on:keypress on:click {...$$restProps}>
<slot />
</div>

0 comments on commit 7fdf1eb

Please sign in to comment.