We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54c860b + 4ef4ffa commit d9b0ae7Copy full SHA for d9b0ae7
docs/BooleanInput.md
@@ -24,7 +24,7 @@ You can use the `options` prop to pass any option supported by the MUI's `Switch
24
import { BooleanInput } from 'react-admin';
25
import FavoriteIcon from '@mui/icons-material/Favorite';
26
27
-<BooleanInput source="favorite" checkedIcon={<FavoriteIcon />} />
+<BooleanInput source="favorite" options={{ checkedIcon: <FavoriteIcon /> }} />
28
```
29
{% endraw %}
30
0 commit comments