prep: replace $$props.class with props

This commit is contained in:
Xylight committed 2024-10-23 19:55:20 -07:00
1 parent 3ca72662ca
commit 0718c8e0c6
69 files changed
+383 -214

No files matched your search

+3 -1
View File
@@ -8,6 +8,8 @@
export let alignment: ButtonAlignment = 'left'
export let href: string | undefined = undefined
export let disabled: boolean = false
let clazz: string = ''
export { clazz as class }
</script>
<Button
@@ -19,7 +21,7 @@
? 'opacity-70 pointer-events-none cursor-not-allowed'
: ''} {color == 'tertiary'
? 'hover:dark:bg-zinc-800/70'
: ''} duration-100 {$$props.class}"
: ''} duration-100 {clazz}"
{alignment}
{href}
{disabled}