fix: reactive mutable page.ts data now is $state
This commit is contained in:
1 parent
f390e6b844
commit
f6214b6640
4 files changed
+29
-19
No files matched your search
@@ -65,6 +65,8 @@
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
import type { HTMLButtonAttributes } from 'svelte/elements'
|
||||
|
||||
import Spinner from '../loader/Spinner.svelte'
|
||||
|
||||
type ButtonRoundness = 'pill' | 'xl' | 'lg' | 'md' | 'none'
|
||||
@@ -129,6 +131,7 @@
|
||||
prefix?: import('svelte').Snippet
|
||||
children?: import('svelte').Snippet
|
||||
suffix?: import('svelte').Snippet
|
||||
onclick?: HTMLButtonAttributes['onclick']
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user