@limetech/lime-elements
Version:
32 lines • 979 B
TypeScript
import { ListItem, ListSeparator } from '../list/list-item.types';
import { Option } from '../select/option.types';
import { FunctionalComponent } from '../../stencil-public-runtime';
interface SelectTemplateProps {
disabled?: boolean;
readonly?: boolean;
required?: boolean;
invalid?: boolean;
options: Array<Option | ListSeparator>;
value: Option | Option[];
label?: string;
helperText?: string;
multiple?: boolean;
native: boolean;
onNativeChange: (event: Event) => void;
id: string;
onMenuChange: (event: CustomEvent<ListItem | ListItem[]>) => void;
onTriggerPress: (event: KeyboardEvent) => void;
isOpen: boolean;
open: () => void;
close: () => void;
checkValid: boolean;
dropdownZIndex: string;
}
export declare const SelectTemplate: FunctionalComponent<SelectTemplateProps>;
/**
*
* @param options
*/
export declare function triggerIconColorWarning(options: Option[]): void;
export {};
//# sourceMappingURL=select.template.d.ts.map