UNPKG

ontime-components

Version:
21 lines (20 loc) 592 B
import { PureComponent } from 'react'; import { IProps } from '../../libs/interfaces'; import { TFuncClick } from '../../libs/types'; declare type TMapValue = string | Function; interface IListSelectProps extends IProps { data: any[]; onClick: Function; multiple?: boolean; value?: any; customItemTpl?: Function; mapValue?: TMapValue; isOpen?: boolean; fetching?: boolean; } declare class List extends PureComponent<IListSelectProps> { onClick: TFuncClick; renderItem(item: any, idx: number): JSX.Element; render(): JSX.Element; } export { List };