import React, {
FC, HTMLInputTypeAttribute,
ReactElement
} from "react"
const Field: FC = ({children, type = 'text', className = '', ...props}) => {
return
{children &&
}
}
export default Field
interface FieldProps {
children?: ReactElement|string,
type?: HTMLInputTypeAttribute,
name: string,
id?: string,
value: any,
placeholder?: string,
autoFocus?: boolean,
className?: string,
step?: string,
onChange: (event: React.ChangeEvent) => void,
}