6 lines
387 B
TypeScript
6 lines
387 B
TypeScript
import type { Snippet } from 'svelte'
|
|||
|
|
|
||
|
|
// AppShell renders the page title above the routed page content, so a workspace feature that
|
||
|
|
// wants a button inside the title container (e.g. a Save action) has to hand it up through this
|
||
|
|
// shared reactive slot rather than rendering it inline in its own markup.
|
||
|
|
export const pageActions = $state<{ snippet: Snippet | null }>({ snippet: null })
|