flowbite-2.4.0
Version:
The most popular library of interactive components built with Tailwind CSS
100 lines • 3.56 kB
TypeScript
import { AccordionInterface } from '../components/accordion/interface';
import { CarouselInterface } from '../components/carousel/interface';
import { CollapseInterface } from '../components/collapse/interface';
import { DialInterface } from '../components/dial/interface';
import { DismissInterface } from '../components/dismiss/interface';
import { DrawerInterface } from '../components/drawer/interface';
import { DropdownInterface } from '../components/dropdown/interface';
import { ModalInterface } from '../components/modal/interface';
import { PopoverInterface } from '../components/popover/interface';
import { TabsInterface } from '../components/tabs/interface';
import { TooltipInterface } from '../components/tooltip/interface';
import { InputCounterInterface } from '../components/input-counter/interface';
import { CopyClipboardInterface } from '../components/clipboard/interface';
import { DatepickerInterface } from '../components/datepicker/interface';
declare class Instances {
private _instances;
constructor();
addInstance(component: keyof Instances['_instances'], instance: any, id?: string, override?: boolean): boolean;
getAllInstances(): {
Accordion: {
[ ]: AccordionInterface;
};
Carousel: {
[ ]: CarouselInterface;
};
Collapse: {
[ ]: CollapseInterface;
};
Dial: {
[ ]: DialInterface;
};
Dismiss: {
[ ]: DismissInterface;
};
Drawer: {
[ ]: DrawerInterface;
};
Dropdown: {
[ ]: DropdownInterface;
};
Modal: {
[ ]: ModalInterface;
};
Popover: {
[ ]: PopoverInterface;
};
Tabs: {
[ ]: TabsInterface;
};
Tooltip: {
[ ]: TooltipInterface;
};
InputCounter: {
[ ]: InputCounterInterface;
};
CopyClipboard: {
[ ]: CopyClipboardInterface;
};
Datepicker: {
[ ]: DatepickerInterface;
};
};
getInstances(component: keyof Instances['_instances']): false | {
[ ]: AccordionInterface;
} | {
[ ]: CarouselInterface;
} | {
[ ]: CollapseInterface;
} | {
[ ]: DialInterface;
} | {
[ ]: DismissInterface;
} | {
[ ]: DrawerInterface;
} | {
[ ]: DropdownInterface;
} | {
[ ]: ModalInterface;
} | {
[ ]: TabsInterface;
} | {
[ ]: TooltipInterface;
} | {
[ ]: InputCounterInterface;
} | {
[ ]: CopyClipboardInterface;
} | {
[ ]: DatepickerInterface;
};
getInstance(component: keyof Instances['_instances'], id: string): any;
destroyAndRemoveInstance(component: keyof Instances['_instances'], id: string): void;
removeInstance(component: keyof Instances['_instances'], id: string): void;
destroyInstanceObject(component: keyof Instances['_instances'], id: string): void;
instanceExists(component: keyof Instances['_instances'], id: string): boolean;
_generateRandomId(): string;
private _componentAndInstanceCheck;
}
declare const instances: Instances;
export default instances;
//# sourceMappingURL=instances.d.ts.map