Version: 4.xx.xx
Swizzle Ready
Boolean
This field is used to display boolean values. It uses the <Tooltip> values from Material UI.
Good to know:
You can swizzle this component to customize it with the Refine CLI
Usage
Let's see how we can use <BooleanField> with the example in the post list:
localhost:3000/posts
Live previews only work with the latest documentation.
API Reference
Properties
| Property | Type | Description | Default | 
|---|---|---|---|
value ﹡  |  | The value of the field.  | |
title  |  | The text shown in the tooltip  | 
  | 
svgIconProps  |  | ||
valueLabelTrue  |  | If there is a value, this is the text to use.  |  | 
valueLabelFalse  |  | If there no value, this is the text to use.  |  | 
trueIcon  |  | If there is a value, this is the icon to use.  | |
falseIcon  |  | If there is no value, this is the icon to use.  | 
External Props:
It also accepts all props of Material UI Tooltip.