0.1.14 • Published 7 years ago

uxcore-switch v0.1.14

Weekly downloads
21
License
MIT
Repository
github
Last release
7 years ago

uxcore-switch Dependency Status devDependency Status

TL;DR

uxcore-switch ui component for react

setup develop environment

$ git clone https://github.com/uxcore/uxcore-switch
$ cd uxcore-switch
$ npm install
$ gulp server

Usage

demo

http://uxcore.github.io/

API

Props

配置项类型必填默认值功能/备注
prefixClsstringoptional'kuma-switch'类名前缀
classNamestringoptional-额外类名
checkedbooleanoptionalfalse是否被选中
defaultCheckedbooleanoptionalfalse非受限模式
onChangeFunction(checked)required变化时发生
checkedChildrenstringoptional-选中时的文案
unCheckedChildrenstringoptional-未选中时的文案
loadingbooloptionalfalseloading 状态
0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago