BooleanFieldProps
BooleanFieldProps =
BaseFieldProps&object
Defined in: packages/ui/src/types.ts:705
Props for the BooleanField read-only display component.
Renders a colored chip indicating true/false status with customizable labels and colors. Used by DataTableProps cell renderers for boolean columns.
Type Declaration
Section titled “Type Declaration”falseColor?
Section titled “falseColor?”
optionalfalseColor:string
Chip color when value is false. Defaults to “neutral”.
falseLabel?
Section titled “falseLabel?”
optionalfalseLabel:string
Label shown when value is false. Defaults to “No”.
trueColor?
Section titled “trueColor?”
optionaltrueColor:string
Chip color when value is true. Defaults to “success”.
trueLabel?
Section titled “trueLabel?”
optionaltrueLabel:string
Label shown when value is true. Defaults to “Yes”.
value:
unknown
Boolean value to display. Accepts booleans or unknown values.
- BaseFieldProps for inherited label and className props.
- ChipSlotProps for the underlying chip slot.