@dccs/react-formik-mui
Version:
Simple Formik <-> MaterialUI wrappers
13 lines (12 loc) • 434 B
TypeScript
/// <reference types="react" />
import { TextFieldProps } from "@material-ui/core/TextField";
interface IBaseProps {
name: string;
type?: "text" | "number" | "password";
useField?: boolean;
fieldProps?: {};
validate?: any;
}
export declare type FormikTextFieldProps = IBaseProps & Omit<TextFieldProps, "name" | "type">;
export declare function FormikTextField(props: FormikTextFieldProps): JSX.Element;
export {};