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
@@ -130,6 +130,9 @@
|
||||
export let loaderWidth: number | undefined = undefined
|
||||
|
||||
export let href: string | undefined = undefined
|
||||
|
||||
let clazz: string = ''
|
||||
export { clazz as class }
|
||||
</script>
|
||||
|
||||
<svelte:element
|
||||
@@ -155,7 +158,7 @@
|
||||
: alignment == 'left'
|
||||
? 'origin-left'
|
||||
: 'origin-right'}
|
||||
{$$props.class}"
|
||||
{clazz}"
|
||||
type={submit ? 'submit' : 'button'}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user