Module: Switch

开关组件
Properties:
Name Type Description
props Object 组件属性,内容如下
Properties
Name Type Description
value Boolean 组件值
onChange onChange 值改变事件

Examples

组件引入

// 全局模块引入
import { Switch } from '@ccreator/smart-ui';
// 最小化模块引入
import Switch from '@ccreator/smart-ui/dist/Switch';

使用示例

<Switch />