Switch

Switch const

Switch: ComponentType<SwitchBaseProps & RefAttributes<HTMLInputElement> & > = ...

A UI component used to toggle an on-off state.

Example:

  
1
2
import { Switch } from 'jimu-ui';
<Switch checked/>

Props:

See SwitchBaseProps for more details.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.