fix missing checkbox export

This commit is contained in:
Elijah Duffy
2025-07-03 14:50:25 -07:00
parent 0bba927acb
commit 3a423e73c2
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
color?: 'default' | 'contrast'; color?: 'default' | 'contrast';
class?: ClassValue | null | undefined; class?: ClassValue | null | undefined;
children?: Snippet; children?: Snippet;
onchange: (value: CheckboxState) => void; onchange?: (value: CheckboxState) => void;
} }
let { let {
@@ -66,7 +66,7 @@
} else { } else {
value = false; value = false;
} }
onchange(value); onchange?.(value);
}} }}
> >
{#if value === 'indeterminate'} {#if value === 'indeterminate'}

View File

@@ -1,6 +1,7 @@
// Reexport your entry components here // Reexport your entry components here
export { default as Button } from './Button.svelte'; export { default as Button } from './Button.svelte';
export { default as CenterBox } from './CenterBox.svelte'; export { default as CenterBox } from './CenterBox.svelte';
export { default as Checkbox } from './Checkbox.svelte';
export { default as Combobox } from './Combobox.svelte'; export { default as Combobox } from './Combobox.svelte';
export { default as FramelessButton } from './FramelessButton.svelte'; export { default as FramelessButton } from './FramelessButton.svelte';
export { default as InjectGoogleMaps } from './InjectGoogleMaps.svelte'; export { default as InjectGoogleMaps } from './InjectGoogleMaps.svelte';