The Toggle component toggles between hiding and showing the selected elements.
|defaultPressed||The pressed state of the toggle when it is initially rendered. Use when you do not need to control its pressed state.|
|pressed||The controlled pressed state of the toggle. Must be used in conjunction with onPressedChange.|
|onPressedChange||Event handler called when the pressed state of the toggle changes.|
|disabled||When true, prevents the user from interacting with the toggle.|
Updated 3 months ago