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

17 lines (16 loc) 534 B
import { default as React } from 'react'; import { SelectProps } from '@mui/material'; export interface FinSelectOption { label: string; value: string | number; } export interface FinSelectProps extends Omit<SelectProps, 'onChange'> { labelText?: string; options: FinSelectOption[]; loading?: boolean; helperText?: string; onChange?: SelectProps['onChange']; labelVariant?: 'caption' | 'body2' | 'subtitle2' | 'h6'; placeholder?: string; } export declare const FinSelect: React.FC<FinSelectProps>;