Home > General Components > Switch

Switch

@wq/material’s <Switch/> component renders a toggle button for use in e.g. MapToolbar.

Source

While @wq/react defines a placeholder implementation, @wq/material’s versions are more useful as reference:

  • Switch.js (@wq/material-web)
  • Switch.js (@wq/material-native)

The @wq/material-web implementation just exports Switch from @mui/material.