flowbite-angular
Version:
<div align="center"> <h1>:construction: flowbite-angular (unreleased) :construction:</h1> <p> <a href="https://flowbite.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src="https://flowbite.s3.amazonaws.com/github/logo-github
57 lines (56 loc) • 1.35 kB
TypeScript
import type { DeepPartial, FlowbiteBoolean, FlowbiteClass, FlowbitePositions } from 'flowbite-angular';
/**
* Available positions for `DropdownComponent`
*/
export interface DropdownPositions extends Pick<FlowbitePositions, 'bottom-center' | 'top-center'> {
'left-center': string;
'right-center': string;
}
/**
* Required properties for the class generation of `DropdownComponent`
*/
export interface DropdownProperties {
label: string;
isOpen: keyof FlowbiteBoolean;
placement: keyof DropdownPositions;
customStyle: DeepPartial<DropdownTheme>;
}
/**
* Theme definition for `DropdownComponent`
*/
export interface DropdownTheme {
root: {
base: string;
};
dropdown: {
base: string;
};
span: {
base: string;
};
container: {
base: string;
isOpen: FlowbiteBoolean;
placement: DropdownPositions;
};
content: {
base: string;
};
subContent: {
base: string;
};
}
/**
* Default theme for `DropdownComponent`
*/
export declare const dropdownTheme: DropdownTheme;
/**
* Generated class definition for `DropdownComponent`
*/
export interface DropdownClass extends FlowbiteClass {
dropdownClass: string;
spanClass: string;
containerClass: string;
contentClass: string;
subContentClass: string;
}