types/tab.types.ts
types/tab.types.ts is a file in Bane's Lab Build Scripts. 13 lines of code and 3 definitions.
export interface TabEntry {
readonly id: string;
readonly label: string;
readonly path: string;
}
export interface PageTabs {
readonly page: string;
readonly tabs: readonly TabEntry[];
}
export interface TabRouter {
readonly pagePath: (page: string) => string;
readonly tabLink: (page: string, tab: string) => string;
}