Skip to content

Commit

Permalink
add switch
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjoel committed Dec 5, 2017
1 parent 4f52b72 commit f31637b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion doc/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
### [多选框](components/form/checkbox)
![](components/form/checkbox/screenshot/basic.png)

### 开关
### [开关](components/form/switch)
![](components/form/switch/screenshot/basic.png)

### Select 下拉框

Expand Down
8 changes: 5 additions & 3 deletions doc/ui/components/form/switch/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#
# Switch 开关
<div align="center">
<img src="screenshot/basic.png" alt="外观">
</div>

## 别名

## 功能
* 禁用状态
* 开关处于打开状态时的文字
* 开关处于关闭状态时的文字

## 实现的组件
* [Switch 开关](http://element-cn.eleme.io/#/zh-CN/component/switch) Element 的组件。



Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f31637b

Please sign in to comment.