![A screenshot of the WordPress Gutenberg component "ToggleControl".](https://wp-gb.com/wp-content/uploads/2021/01/component-ToggleControl.png)
Toggles something on or off.
<ToggleControl
label="Fixed Background"
help={ true ? 'Has fixed background.' : 'No fixed background.' }
checked={ true }
onChange={ (e) => console.log(e) }
/>
Very similar to the FormToggle component.
Toggles something on or off.
<ToggleControl
label="Fixed Background"
help={ true ? 'Has fixed background.' : 'No fixed background.' }
checked={ true }
onChange={ (e) => console.log(e) }
/>
Very similar to the FormToggle component.