FormToggle

Can be used to let a user toggle something on and off. Very similar to the ToggleControl component.

<FormToggle
	checked={ true }
	onChange={ () => console.log("toggled") }
/>
<br/>
<br/>
<FormToggle
	checked={ false }
	onChange={ () => console.log("toggled") }
/>
GitHub URL
Classification

Category

Components