13 lines
277 B
TypeScript
13 lines
277 B
TypeScript
|
|
import type { ComponentType } from "svelte";
|
||
|
|
import { writable } from "svelte/store";
|
||
|
|
|
||
|
|
export type Tab = {
|
||
|
|
path: string,
|
||
|
|
prefix?: string,
|
||
|
|
title: string,
|
||
|
|
component?: ComponentType,
|
||
|
|
footer?: boolean,
|
||
|
|
login?: boolean,
|
||
|
|
};
|
||
|
|
export let current_page_store = writable({} as Tab);
|