ToggleControl

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.

GitHub URL
Classification

Category

Components