diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte index 995f0a7..1abc80e 100644 --- a/src/lib/components/Button.svelte +++ b/src/lib/components/Button.svelte @@ -9,12 +9,12 @@ backgroundColor, primary = false }: { - type: HTMLButtonAttributes['type']; - onClick: () => void; + type?: HTMLButtonAttributes['type']; + onClick?: () => void; label: string; - size: 'small' | 'normal' | 'large'; - backgroundColor: string; - primary: boolean; + size?: 'small' | 'normal' | 'large'; + backgroundColor?: string; + primary?: boolean; } = $props();