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
@@ -43,6 +43,8 @@
|
||||
sharing = false
|
||||
return file
|
||||
}
|
||||
let clazz: string = ''
|
||||
export { clazz as class }
|
||||
</script>
|
||||
|
||||
{#if $page.state.openImage || '' != ''}
|
||||
@@ -146,6 +148,6 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<button on:click={() => history.back()} class="contents {$$props.class}">
|
||||
<button on:click={() => history.back()} class="contents {clazz}">
|
||||
<slot />
|
||||
</button>
|
||||
Reference in new issue
Block a user