Skip to content

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.

optional falseColor: string

Chip color when value is false. Defaults to “neutral”.

optional falseLabel: string

Label shown when value is false. Defaults to “No”.

optional trueColor: string

Chip color when value is true. Defaults to “success”.

optional trueLabel: string

Label shown when value is true. Defaults to “Yes”.

value: unknown

Boolean value to display. Accepts booleans or unknown values.