UNPKG

@nish1896/rhf-mui-components

Version:

A suite of 25+ production-ready react-hook-form components built with material-ui. Fully typed, tree-shakable, and optimized for enterprise-grade forms.

21 lines (20 loc) 1.82 kB
import { FormHelperTextProps } from "@mui/material/FormHelperText"; import { FormLabelProps } from "@mui/material/FormLabel"; import { TextFieldProps } from "@mui/material/TextField"; import { FormControlLabelProps } from "@mui/material/FormControlLabel"; import { CheckboxProps } from "@mui/material/Checkbox"; import { RadioProps } from "@mui/material/Radio"; import { SelectProps } from "@mui/material/Select"; import { ChipProps } from "@mui/material/Chip"; //#region src/common/types/mui.d.ts type FormLabelProps$1 = Omit<FormLabelProps, 'children' | 'required' | 'error'>; type FormControlLabelProps$1 = Omit<FormControlLabelProps, 'control' | 'label' | 'value' | 'defaultValue' | 'defaultChecked' | 'disabled' | 'key'>; type FormHelperTextProps$1 = Omit<FormHelperTextProps, 'children' | 'component' | 'error'>; type TextFieldProps$1 = Omit<TextFieldProps, 'id' | 'name' | 'value' | 'defaultValue' | 'onChange' | 'error' | 'FormHelperTextProps' | 'ref'>; type CheckboxProps$1 = Omit<CheckboxProps, 'name' | 'value' | 'checked' | 'defaultChecked' | 'onChange'>; type RadioProps$1 = Omit<RadioProps, 'checked'>; type SelectProps$1 = Omit<SelectProps, 'name' | 'id' | 'labelId' | 'error' | 'onChange' | 'value' | 'defaultValue' | 'ref' | 'displayEmpty' | 'multiple'>; type AutoCompleteTextFieldProps = Omit<TextFieldProps, 'value' | 'onChange' | 'disabled' | 'label' | 'required' | 'error' | 'ref' | 'inputRef'>; type MuiChipProps = Omit<ChipProps, 'key' | 'label' | 'onDelete' | 'disabled'>; //#endregion export { AutoCompleteTextFieldProps, CheckboxProps$1 as CheckboxProps, FormControlLabelProps$1 as FormControlLabelProps, FormHelperTextProps$1 as FormHelperTextProps, FormLabelProps$1 as FormLabelProps, MuiChipProps, RadioProps$1 as RadioProps, SelectProps$1 as SelectProps, TextFieldProps$1 as TextFieldProps };