UNPKG

@nish1896/rhf-mui-components

Version:

A suite of 20+ reusable Material UI components for React Hook Form to minimize your time and effort in creating and styling forms

8 lines (7 loc) 321 B
import { jsx as _jsx } from "react/jsx-runtime"; import MuiFormControl from '@mui/material/FormControl'; const FormControl = (props) => { const { children, error, fullWidth = true } = props; return (_jsx(MuiFormControl, { fullWidth: fullWidth, error: error, children: children })); }; export default FormControl;