UNPKG

@kbfront/kb-ui

Version:

KB React UI Library

23 lines (22 loc) 569 B
import { FC } from 'react'; import './index.scss'; import { IOption } from './models'; interface IProps { options: Array<IOption>; name?: string; label?: string; searchLabel?: string; searchable?: boolean; clearable?: boolean; formGroupLabel?: string; multiple?: boolean; disabled?: boolean; required?: boolean; defaultValue?: any; className?: string; _id?: string; _ignore?: string; onChange?(value: string | number | Array<string | number>): void; } declare const Select: FC<IProps>; export default Select;