apphouse
Version:
Component library for React that uses observable state management and theme-able components.
12 lines (11 loc) • 342 B
TypeScript
import { TabViewModel, UITabView } from './TabViewModel';
/**
* This is the main class to handle tabs in the app.
* An app will have many tabs
*/
export declare class TabsModel {
tabViews: Record<string, TabViewModel>;
constructor();
get: (tabId: string) => TabViewModel | undefined;
createTab: (tab: UITabView) => void;
}