src/collections/Form/FormCheckbox.js
function FormCheckbox(props) {
  const { control } = props
  const rest = getUnhandledProps(FormCheckbox, props)
  const ElementType = getElementType(FormCheckbox, props)

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

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