Giter Club home page Giter Club logo

checkbox's Introduction

rc-checkbox


Checkbox ui component for react.

NPM version build status Test coverage Dependencies DevDependencies npm download bundle size

Install

rc-checkbox

Usage

import checkbox from 'rc-checkbox';

export default () => <checkbox />;

Compatibility

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

API

name type default description
prefixCls String rc-checkbox
className String '' additional class name of root node
name String same with native input checkbox
checked enum: 0,1,2
defaultChecked enum: 0,1,2 0 same with native input checkbox
onChange Function(e:Event, checked:Number) called when checkbox is changed. e is native event, checked is original checked state.

Development

npm install
npm start

Online demo: http://react-component.github.io/checkbox/

License

rc-checkbox is released under the MIT license.

checkbox's People

Contributors

aaa70 avatar afc163 avatar ambientlighter avatar arlair avatar benjycui avatar bingqichen avatar brandonbloom avatar dependabot-preview[bot] avatar ilnicki avatar jaimemendozadev avatar kanweiwei avatar liuchao233 avatar nataliiakononikhina avatar ne-smalltown avatar paranoidjk avatar raohai avatar sarehag avatar superraytin avatar swistak35 avatar yesmeck avatar yiminghe avatar yoyo837 avatar ztplz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.