Files
directus/src/interfaces/toggle
Rijk van Zanten 4e8a7de004 Add types to interfaces & displays (#716)
* Add types to interfaces

* Update display types to match interfaces

* Update i/d to use strings
2020-06-12 14:20:08 -04:00
..
2020-04-23 09:12:12 -04:00
2020-04-23 09:12:12 -04:00
2020-04-23 18:16:17 -04:00

Toggle

Simple single styled checkbox

Options

Option Description Default
color What color to use for the on state of the checkbox var(--primary)
label What label to show next to the checkbox null
icon-on What icon to show when the checkbox is checked check_box
icon-off What icon to show when the checkbox is unchecked check_box_outline_blank