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 -1
View File
@@ -1,7 +1,12 @@
<script lang="ts">
let clazz: string = ''
export { clazz as class }
</script>
<aside
class="sticky top-0 left-0 break-words flex flex-shrink
flex-col gap-4 px-6 pt-4 max-w-full w-full h-full
overflow-auto text-sm border-slate-200 dark:border-zinc-800 {$$props.class}"
overflow-auto text-sm border-slate-200 dark:border-zinc-800 {clazz}"
>
<slot />
</aside>