Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jsBaseLibrary/switch

Open more actions menu
 
 

Repository files navigation

bee-switch

npm version Build Status devDependency Status

react bee-switch component for tinper-bee

setup develop environment

$ git clone https://github.com/tinper-bee/bee-switch
$ cd bee-switch
$ npm install
$ npm run dev

Usage

API

参数 说明 类型 默认值
checked 指定当前是否选中 Boolean false
defaultChecked 初始是否选中 Boolean false
onChange 变化时回调函数,自定义参照demo Function(checked:Boolean)
checkedChildren 选中时的内容 React Node
unCheckedChildren 非选中时的内容 React Node
size 开关大小,可选值:'' small String ''

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 88.8%
  • JavaScript 10.8%
  • HTML 0.4%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.