⚠️ @prestojs/ui-antd is a legacy package

It is maintained for existing projects but should not be used for new projects. New projects should use @alliancesoftware/ui instead — see the @alliancesoftware/ui component library.

BooleanWidget

Source
import { BooleanWidget } from "@prestojs/ui-antd";
BooleanWidget(props)
Source

Component Props:

PropTypeDescription
*
props
An object with the properties below
*props.inputInputProps
props.refReact.RefObject
...any
Any properties from Checkbox except for these:
  • checked
  • ref

Examples

Basic Usage