@amaui/ui-react
Version:
UI for React
30 lines (29 loc) • 864 B
TypeScript
import React from 'react';
import { ITextField } from '../TextField/TextField';
import { IElement, IPropsAny } from '../types';
export interface ISelect extends ITextField {
options?: Array<{
name: any;
value: any;
props?: any;
}>;
multiple?: boolean;
autoWidth?: boolean;
getLabel?: (item: any, props: any) => any;
chip?: boolean;
clear?: boolean;
noSelectText?: any;
renderValues?: (value: string | string[]) => IElement;
renderChip?: (item: any, value: any, props: IPropsAny) => IElement;
IconClear?: any;
IconDropdown?: any;
WrapperProps?: IPropsAny;
ChipProps?: IPropsAny;
ChiProps?: IPropsAny;
ListProps?: IPropsAny;
MenuProps?: IPropsAny;
IconButtonProps?: IPropsAny;
IconProps?: IPropsAny;
}
declare const Select: React.FC<ISelect>;
export default Select;