Socket
Socket
Sign inDemoInstall

rc-checkbox

Package Overview
Dependencies
8
Maintainers
6
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rc-checkbox

checkbox ui component for react


Version published
Weekly downloads
1.2M
increased by6.08%
Maintainers
6
Install size
179 kB
Created
Weekly downloads
 

Readme

Source

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, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

API

nametypedefaultdescription
prefixClsStringrc-checkbox
classNameString''additional class name of root node
nameStringsame with native input checkbox
checkedenum: 0,1,2
defaultCheckedenum: 0,1,20same with native input checkbox
onChangeFunction(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.

Keywords

FAQs

Last updated on 08 Dec 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc