photoeditorsdk
Version:
The most comprehensive photo editor SDK for HTML5
18 lines (17 loc) • 451 B
TypeScript
export type DropdownListItem = {
value: string;
label: string;
[key: string]: any;
};
export interface DropdownProps {
isDisabled?: boolean;
selectedItem: string;
list: DropdownListItem[];
onSelect: (e: string) => any;
label: string;
style?: React.CSSProperties;
itemStyle?: (item: DropdownListItem) => React.CSSProperties | React.CSSProperties;
}
export interface DropdownCaretProps {
rotation?: number;
}