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
@@ -28,6 +28,8 @@
|
||||
export let showCounts: boolean = true
|
||||
|
||||
let showInfo = false
|
||||
let clazz: string = 'py-4 flex flex-col gap-4 text-sm max-w-full relative'
|
||||
export { clazz as class }
|
||||
</script>
|
||||
|
||||
{#if showInfo}
|
||||
@@ -36,10 +38,7 @@
|
||||
</Modal>
|
||||
{/if}
|
||||
|
||||
<div
|
||||
class={$$props.class ??
|
||||
'py-4 flex flex-col gap-4 text-sm max-w-full relative'}
|
||||
>
|
||||
<div class={clazz}>
|
||||
<div
|
||||
class="flex
|
||||
{view == 'cozy'
|
||||
|
||||
Reference in new issue
Block a user