From 1d7350cccd939b8a200b3b444799296590bf373d Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 6 Dec 2015 17:14:06 +0800 Subject: [PATCH] Add Switch size to API doc --- components/switch/index.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/components/switch/index.md b/components/switch/index.md index 8befda60c3..3752a75fde 100644 --- a/components/switch/index.md +++ b/components/switch/index.md @@ -19,8 +19,9 @@ | 参数 | 说明 | 类型 | 可选值 |默认值 | |-----------|------------------------------------------|------------|-------|--------| -| checked | 指定当前是否选中 | boolean | | false | -| defaultChecked | 初始是否选中 | boolean | | false | -| onChange | 变化时回调函数 | Function(checked:boolean) | | | -| checkedChildren | 选中时的内容 | React Node | | | -| unCheckedChildren | 非选中时的内容 | React Node | | | +| checked | 指定当前是否选中 | boolean | | false | +| defaultChecked | 初始是否选中 | boolean | | false | +| onChange | 变化时回调函数 | Function(checked:boolean) | | | +| checkedChildren | 选中时的内容 | React Node | | | +| unCheckedChildren | 非选中时的内容 | React Node | | | +| size | 开关大小 | string | 'default' or 'small' | 'default' |