mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-13 02:04:34 +00:00

* feat: implement pixel dance animation component, page and command * feat: make entire dance page draggable * feat: add dance transition for ui-iframe extension loading
23 lines
517 B
Svelte
23 lines
517 B
Svelte
<script lang="ts">
|
|
import { setAppConfigContext } from "@/context"
|
|
import { setAppStateContext } from "@/context/appState"
|
|
import type { AppConfig, AppState } from "@kksh/types"
|
|
import type { Snippet } from "svelte"
|
|
import type { Writable } from "svelte/store"
|
|
|
|
const {
|
|
appConfig,
|
|
appState,
|
|
children
|
|
}: {
|
|
appConfig: Writable<AppConfig>
|
|
appState: Writable<AppState>
|
|
children: Snippet<[]>
|
|
} = $props()
|
|
|
|
setAppConfigContext(appConfig)
|
|
setAppStateContext(appState)
|
|
</script>
|
|
|
|
{@render children?.()}
|