www_hero/node_modules/flowbite/lib/cjs/components/tabs/index.d.ts

16 lines
547 B
TypeScript
Raw Normal View History

2024-05-03 04:39:20 +00:00
import type { TabItem, TabsOptions } from './types';
import { TabsInterface } from './interface';
declare class Tabs implements TabsInterface {
_items: TabItem[];
_activeTab: TabItem;
_options: TabsOptions;
constructor(items?: TabItem[], options?: TabsOptions);
_init(): void;
getActiveTab(): TabItem;
_setActiveTab(tab: TabItem): void;
getTab(id: string): TabItem;
show(id: string, forceShow?: boolean): void;
}
export declare function initTabs(): void;
export default Tabs;
//# sourceMappingURL=index.d.ts.map