UNPKG

finform-react-builder

Version:

A powerful, flexible React form builder with dynamic field rendering, custom validation, multi-step forms, Material-UI integration, image component support, toggle/radio buttons, switches, autocomplete, and advanced button positioning

26 lines (25 loc) 686 B
import { default as React } from 'react'; export interface FinAutocompleteOption { label: string; value: string | number; [k: string]: any; } export interface FinAutocompleteProps { id?: string; options: FinAutocompleteOption[]; value: any; multiple?: boolean; label?: string; labelText?: string; placeholder?: string; onChange: (val: any) => void; labelVariant?: 'caption' | 'body2' | 'subtitle2' | 'h6'; disabled?: boolean; loading?: boolean; error?: boolean; helperText?: string; onOpen?: () => void; noOptionsText?: string; sx?: any; } export declare const FinAutocomplete: React.FC<FinAutocompleteProps>;