UNPKG

@onesy/ui-react

Version:
35 lines (34 loc) 1.08 kB
import React from 'react'; import { ITextField } from '../TextField/TextField'; import { IElement, IPropsAny } from '../types'; export declare type ISelect = ITextField & { options?: Array<{ name: any; value: any; props?: any; }>; multiple?: boolean; autoWidth?: boolean; getLabel?: (item: any, props: any) => any; getOptionName?: (name: any, item: any, index: number) => 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; ListItemProps?: IPropsAny; ListItemTypeProps?: IPropsAny; ListItemTypePrimaryProps?: IPropsAny; ListItemTypeSecondaryProps?: IPropsAny; IconButtonProps?: IPropsAny; IconProps?: IPropsAny; }; declare const Select: React.FC<ISelect>; export default Select;