@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.
15 lines (14 loc) • 410 B
JavaScript
import { jsx } from "react/jsx-runtime";
import MuiFormControl from "@mui/material/FormControl";
//#region src/common/FormControl.tsx
const FormControl = ({ children, error, fullWidth = true, disabled, ...otherFormControlProps }) => {
return /* @__PURE__ */ jsx(MuiFormControl, {
...otherFormControlProps,
fullWidth,
error,
disabled,
children
});
};
//#endregion
export { FormControl as default };