From c56d77f26ff06e2682cc93e942cf0009d74f29c1 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Thu, 12 Dec 2024 13:36:35 -0500 Subject: [PATCH] update button --- src/lib/components/Button.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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();