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

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

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