import { TextField } from "@material-ui/core" ; import { TextFieldProps } from "@material-ui/core/TextField" ; import * as React from "react" ; import { compose , pure , setDisplayName } from "recompose" ; /**
 * Form input properties
 */ export type FormInputProps = TextFieldProps ; /**
 * Render properties
 */ export type RenderProps = FormInputProps ; param props return export const Render = props => < TextField type = "text" margin = "dense" InputLabelProps = { { required : false } } fullWidth = { true } autoCapitalize = "false" autoCorrect = "false" { ... props } />; return export function enhance ( ) { return compose < RenderProps , FormInputProps > ( pure , setDisplayName ( "FormInput" ) ) ; } /**
 * Form input component
 */ export const FormInput = enhance ( ) ( Render ) ;