UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

35 lines 1 kB
import { default as React } from 'react'; export interface DropdownOption { value: string | number; _id?: string; } export interface SearchableSimpleProps { label: string; options: DropdownOption[]; defaultValue?: string | number; onChange?: (value: DropdownOption | null) => void; placeholder?: string; helperText?: string; styles?: { disabled?: boolean; required?: boolean; theme?: string; width?: string; minWidth?: string; height?: string; minHeight?: string; borderRadius?: string; fontSize?: string; fontFamily?: string; padding?: string; marginTop?: string; helperTextType?: 'error' | 'info'; marginBottom?: string; backgroundColor?: string; borderColor?: string; textColor?: string; }; } declare const SearchableSimple: React.FC<SearchableSimpleProps>; export default SearchableSimple; //# sourceMappingURL=index.d.ts.map