Switch (toggle)

Properties

Attribute Description Type Required
value The default value, false if not provided boolean No

And all the common properties for all components.

Example

{
    category: 'conditions',
    type: 'switch',
    propName: 'okay',
    label: 'Ok?',
    value: true,
}
Will render:

results matching ""

    No results matching ""