@xkit/checkbox

0.3.1 • Public • Published

@xkit/checkbox

React checkbox component

Usage

<Checkbox value={true} />
<Checkbox checked={true} />
<Checkbox invalid />
<Checkbox label="label" />

<Checkbox
  styles={{
    checkbox: {
      width: 30,
      height: 30,
      marginRight: 10
    },
    checkboxChecked: {
      color: '#fff',
      backgroundColor: '#333'
    },
    label: {
      fontWeight: 'bold',
      color: '#999',
      fontSize: 18
    },
    labelChecked: {
      color: '#333'
    }
  }}
/>

Readme

Keywords

none

Package Sidebar

Install

npm i @xkit/checkbox

Weekly Downloads

12

Version

0.3.1

License

MIT

Unpacked Size

8.81 kB

Total Files

4

Last publish

Collaborators

  • adjusted