UNPKG

@bigbinary/neetoui

Version:

neetoUI drives the experience at all neeto products

33 lines (30 loc) 875 B
import React from "react"; import { LabelProps } from "./Label"; export type SelectProps = { size?: "small" | "medium" | "large"; label?: string; required?: boolean; error?: string; helpText?: string; className?: string; innerRef?: React.Ref<HTMLSelectElement>; isCreateable?: boolean; strategy?: "default" | "fixed"; id?: string; loadOptions?: boolean; labelProps?: LabelProps; optionRemapping?: { label?: string; value?: string }; [key: string]: any; fetchMore?: () => void; totalOptionsCount?: number; isAsyncLoadOptionEnabled?: boolean; isMulti?: boolean; addButtonLabel?: string; portalProps?: object; onMenuOpen?: () => void; onMenuClose?: () => void; onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void; styles?: object; }; const Select: React.ForwardRefExoticComponent<SelectProps>; export default Select;