naive-ui/demo/documentation/components/switch/zhCN/index.demo-entry.md
2020-09-13 19:30:42 +08:00

16 lines
394 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 开关 Switch
我有一个 Switch不过没时间玩。每每这个时候我都会回忆起童年玩 NDS 的快乐时光。
## 演示
```demo
basic
event
```
## Props
|名称|类型|默认值|说明|
|-|-|-|-|
|disabled|`boolean`|`false`||
|modelValue|`boolean`|`false`||
|theme|`'light' \| 'dark' \| null \| string`|`null`||
|onUpdate:modelValue|`(value: boolean) => any`|`() => {}`||