@dccs/react-formik-mui
Version:
Simple Formik <-> MaterialUI wrappers
67 lines (66 loc) • 2.07 kB
TypeScript
/// <reference types="react" />
import { FormikProps } from "formik";
import { FormHelperTextProps } from "@material-ui/core/FormHelperText";
export interface IFormHelperTextWrapperProps {
name: string;
form: FormikProps<any>;
error?: boolean;
helperText?: string;
formHelperTextProps?: FormHelperTextProps;
}
declare function FormHelperTextWrapper(props: IFormHelperTextWrapperProps): JSX.Element | null;
declare namespace FormHelperTextWrapper {
var displayName: string;
var __docgenInfo: {
"description": string;
"displayName": string;
"props": {
"name": {
"defaultValue": null;
"description": string;
"name": string;
"required": boolean;
"type": {
"name": string;
};
};
"form": {
"defaultValue": null;
"description": string;
"name": string;
"required": boolean;
"type": {
"name": string;
};
};
"error": {
"defaultValue": null;
"description": string;
"name": string;
"required": boolean;
"type": {
"name": string;
};
};
"helperText": {
"defaultValue": null;
"description": string;
"name": string;
"required": boolean;
"type": {
"name": string;
};
};
"formHelperTextProps": {
"defaultValue": null;
"description": string;
"name": string;
"required": boolean;
"type": {
"name": string;
};
};
};
};
}
export default FormHelperTextWrapper;