Implements ButtonGroup component
This commit is contained in:
parent
64b3b0f6ef
commit
a86c6788da
2 changed files with 8 additions and 0 deletions
7
packages/bbui/src/ButtonGroup/ButtonGroup.svelte
Normal file
7
packages/bbui/src/ButtonGroup/ButtonGroup.svelte
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<script>
|
||||||
|
export let vertical = false
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="spectrum-ButtonGroup" class:spectrum-ButtonGroup--vertical={vertical}>
|
||||||
|
<slot />
|
||||||
|
</div>
|
|
@ -15,6 +15,7 @@ export { default as ActionButton } from "./ActionButton/ActionButton.svelte"
|
||||||
export { default as ActionGroup } from "./ActionGroup/ActionGroup.svelte"
|
export { default as ActionGroup } from "./ActionGroup/ActionGroup.svelte"
|
||||||
export { default as ActionMenu } from "./ActionMenu/ActionMenu.svelte"
|
export { default as ActionMenu } from "./ActionMenu/ActionMenu.svelte"
|
||||||
export { default as Button } from "./Button/Button.svelte"
|
export { default as Button } from "./Button/Button.svelte"
|
||||||
|
export { default as ButtonGroup } from "./ButtonGroup/ButtonGroup.svelte"
|
||||||
export { default as ClearButton } from "./ClearButton/ClearButton.svelte"
|
export { default as ClearButton } from "./ClearButton/ClearButton.svelte"
|
||||||
export { default as Icon, directions } from "./Icon/Icon.svelte"
|
export { default as Icon, directions } from "./Icon/Icon.svelte"
|
||||||
export { default as Toggle } from "./Form/Toggle.svelte"
|
export { default as Toggle } from "./Form/Toggle.svelte"
|
||||||
|
|
Loading…
Reference in a new issue