function FormInput(props) {
  const { control } = props
  const rest = getUnhandledProps(FormInput, props)
  const ElementType = getElementType(FormInput, props)

  return <ElementType {...rest} control={control} />
}
function FormInput(props) {
  const { control } = props
  const rest = getUnhandledProps(FormInput, props)
  const ElementType = getElementType(FormInput, props)

  return <ElementType {...rest} control={control} />
}
function FormInput ( props ) { const { control } = props const rest = getUnhandledProps ( FormInput , props ) const ElementType = getElementType ( FormInput , props ) return < ElementType { ... rest } control = { control } / > }
Sugar for <Form.Field control={Input} />.
@see Form
@see Input
Sugar for <Form . Field control = { Input } / > .