Toggle
A two-state button that can be on or off.Import
Props
State
The toggle exposes the following state:pressed: boolean - Whether the toggle is currently presseddisabled: boolean - Whether the toggle should ignore user interaction
API reference for the Toggle component
pressed: boolean - Whether the toggle is currently presseddisabled: boolean - Whether the toggle should ignore user interaction