zooid-switch
Switch
Last updated 4 years ago by octoblu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install zooid-switch 
SYNC missed versions from official npm registry.

zooid-switch

A React component to render Zooid like switches/toggles.

Build Status npm version Code Climate Slack Status

Install

npm install --save zooid-switch

Props

Prop Type Default Description
alignLabel string left Sets align property for the switch label. Options: left, right
className string Additional css classes for your switch
disabled bool false Makes the switch un-switchable
label string Label for the switch
onChange func Custom callback function to be fired each time the switch is fired
on bool false The current state of the switch

Example

<Switch label="Switch Me On" />

Current Tags

  • 2.0.2                                ...           latest (4 years ago)

4 Versions

  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 0
Last Month 4
Dependencies (4)

Copyright 2014 - 2016 © taobao.org |