diff --git a/packages/bbui/src/Form/Core/Checkbox.svelte b/packages/bbui/src/Form/Core/Checkbox.svelte index 74745aa9a6..ca3cef383f 100644 --- a/packages/bbui/src/Form/Core/Checkbox.svelte +++ b/packages/bbui/src/Form/Core/Checkbox.svelte @@ -8,16 +8,18 @@ export let id = null export let text = null export let disabled = false - export let size = null + export let size const dispatch = createEventDispatcher() const onChange = event => { dispatch("change", event.target.checked) } + + $: sizeClass = `spectrum-Checkbox--size${size || "M"}`