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
@@ -13,9 +13,12 @@
|
||||
|
||||
$: previewURLs =
|
||||
preview && files ? Array.from(files).map(URL.createObjectURL) : undefined
|
||||
|
||||
let clazz: string = ''
|
||||
export { clazz as class }
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-1 {$$props.class}">
|
||||
<div class="flex flex-col gap-1 {clazz}">
|
||||
{#if $$slots.label || label}
|
||||
<Label for={id} text={label}>
|
||||
<slot name="label" />
|
||||
|
||||
Reference in new issue
Block a user