@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.
14 lines (13 loc) • 446 B
TypeScript
import { SxProps } from "@mui/system";
//#region src/types/config.d.ts
type MuiPickersAdapter = new (...args: any) => any;
type RHFMuiConfig = {
defaultFormLabelSx: SxProps;
defaultFormControlLabelSx: SxProps;
defaultFormHelperTextSx: SxProps;
dateAdapter?: MuiPickersAdapter;
allLabelsAboveFields?: boolean;
};
type RHFMuiConfigInput = Partial<RHFMuiConfig>;
//#endregion
export { MuiPickersAdapter, RHFMuiConfig, RHFMuiConfigInput };