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

+6 -2
View File
@@ -1,7 +1,11 @@
<script lang="ts">
let clazz: string = ''
export { clazz as class }
</script>
<div
class="flex flex-row items-center
text-sm text-slate-600 dark:text-zinc-400 gap-2 flex-wrap {$$props.class ||
''}"
text-sm text-slate-600 dark:text-zinc-400 gap-2 flex-wrap {clazz}"
>
<span class="font-medium text-left">
<slot />