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
@@ -3,13 +3,13 @@
|
||||
|
||||
export let group: string = generateID()
|
||||
export let row: boolean = false
|
||||
let clazz: string = ''
|
||||
export { clazz as class }
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-1">
|
||||
<div
|
||||
class="flex {row
|
||||
? 'flex-row flex-wrap'
|
||||
: 'flex-col'} gap-4 {$$props.class || ''}"
|
||||
class="flex {row ? 'flex-row flex-wrap' : 'flex-col'} gap-4 {clazz || ''}"
|
||||
>
|
||||
<slot {group} />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user