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
@@ -23,6 +23,8 @@
flip(),
]
export let strategy: Strategy = 'absolute'
let clazz: string = ''
export { clazz as class }
</script>
<Popover
@@ -34,7 +36,7 @@
{...$$restProps}
bind:open
popoverClass="backdrop-blur-xl rounded-xl w-full max-w-[280px]"
class={$$props.class}
class={clazz}
>
<slot name="target" slot="target" />
<div