UNPKG

@hummingbirdui/hummingbird

Version:

An open-source system designed for rapid development, without sacrificing the granular control of utility-first CSS.

23 lines (22 loc) 668 B
export interface TabInstance { show(): void; dispose(): void; } export type ComponentOptions = Record<string, any>; declare enum TabEvents { show = "show.bs.tab", shown = "shown.bs.tab", hide = "hide.bs.tab", hidden = "hidden.bs.tab" } export interface TabClass { readonly VERSION: string; readonly DATA_KEY: string; readonly EVENT_KEY: string; new (element: string | Element): TabInstance; getInstance(element: string | Element): TabInstance | null; getOrCreateInstance(element: string | Element, config?: ComponentOptions): TabInstance; Events: typeof TabEvents; } declare const Tab: TabClass; export default Tab;