update button

This commit is contained in:
Benjamin Palko 2024-12-12 13:36:35 -05:00
parent 37d901a86c
commit c56d77f26f

View file

@ -9,12 +9,12 @@
backgroundColor, backgroundColor,
primary = false primary = false
}: { }: {
type: HTMLButtonAttributes['type']; type?: HTMLButtonAttributes['type'];
onClick: () => void; onClick?: () => void;
label: string; label: string;
size: 'small' | 'normal' | 'large'; size?: 'small' | 'normal' | 'large';
backgroundColor: string; backgroundColor?: string;
primary: boolean; primary?: boolean;
} = $props(); } = $props();
</script> </script>