prep: replace $$props.class with props
This commit is contained in:
1 parent
3ca72662ca
commit
0718c8e0c6
69 files changed
+383
-214
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user