kodobe-react-checkbox
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

Kodobe React Checkbox

This is a simple react checkbox package.

Install

npm install kodobe-react-checkbox

or

yarn add kodobe-react-checkbox

Setup

import Checkbox from 'kodobe-react-checkbox';

Usage

import Checkbox from "kodobe-react-checkbox";

function App() {
    return (
        <div>
            <h3>Here is how to use a checkbox</h3>
            <Checkbox isChecked={true} onCheck={(t) => console(t.target.value)} />
        </div>
    );
}

Options

  • isChecked : state of the radio (boolean, default=false)
  • disabled : if the switch can be toggled (boolean, default=false)
  • onCheck : toggles checkbox button (function, required)
  • style : (object)
  • className : (string)
  • id : (any)
  • name : (string)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.51latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.51
2.0.43
2.0.32
2.0.21
2.0.13
2.0.03
1.0.11

Package Sidebar

Install

npm i kodobe-react-checkbox

Weekly Downloads

14

Version

2.0.5

License

ISC

Unpacked Size

6.62 kB

Total Files

4

Last publish

Collaborators

  • adefemi
  • kodobe