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
@@ -6,9 +6,12 @@
export let badge: string | undefined = undefined
export let link: string = '#'
let clazz: string = ''
export { clazz as class }
</script>
<div class="flex flex-col w-max {$$props.class}">
<div class="flex flex-col w-max {clazz}">
<a
href={link}
class="text-base font-medium inline-flex items-center gap-2 {link != '#'