UNPKG

@sikka/hawa

Version:

Modern UI Kit made with Tailwind

51 lines (47 loc) 1.18 kB
import * as React from 'react'; import { FC } from 'react'; import { P as PositionType } from '../commonTypes-DinbCdmt.mjs'; type LabelProps = { hint?: React.ReactNode; hintSide?: PositionType; htmlFor?: string; required?: boolean; }; type SelectOptionProps = { value: any; label: any; }; type SelectTypes = { label?: string; hideHelperText?: boolean; options: SelectOptionProps[]; labelKey?: string; isCreatable?: boolean; isClearable?: boolean; isMulti?: boolean; isSearchable?: boolean; controlClassNames?: string; containerClassNames?: string; onChange: any; helperText?: any; onInputChange?: any; native?: any; width?: "full" | "small" | "fit"; value?: any; children?: any; getOptionLabel?: any; disabled?: boolean; defaultValue?: any; handleCreateOption?: () => void; placeholder?: string; hideIndicator?: boolean; phoneCode?: boolean; isLoading?: any; labelProps?: LabelProps; texts?: { noOptions?: string; createLabel?: string; }; }; declare const Select: FC<SelectTypes>; export { Select, type SelectOptionProps };