Implements ButtonGroup component

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-21 14:12:47 +02:00
parent 64b3b0f6ef
commit a86c6788da
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<script>
export let vertical = false
</script>
<div class="spectrum-ButtonGroup" class:spectrum-ButtonGroup--vertical={vertical}>
<slot />
</div>

View File

@ -15,6 +15,7 @@ export { default as ActionButton } from "./ActionButton/ActionButton.svelte"
export { default as ActionGroup } from "./ActionGroup/ActionGroup.svelte"
export { default as ActionMenu } from "./ActionMenu/ActionMenu.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 Icon, directions } from "./Icon/Icon.svelte"
export { default as Toggle } from "./Form/Toggle.svelte"