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