2.0.5 • Published 1 year ago

kodobe-react-checkbox v2.0.5

Weekly downloads
5
License
ISC
Repository
-
Last release
1 year ago

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)
2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago