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

+4 -1
View File
@@ -18,6 +18,9 @@
}[] = []
export let center: boolean = false
let clazz: string = ''
export { clazz as class }
</script>
<Material
@@ -25,7 +28,7 @@
padding="none"
rounding="xl"
{...$$restProps}
class="z-10 relative border-slate-200 dark:border-zinc-700 {$$props.class}"
class="z-10 relative border-slate-200 dark:border-zinc-700 {clazz}"
>
{#if banner || avatar}
<div class="max-h-36 overflow-visible">