0.1.3 • Published 7 years ago

@bia.pt/checkbox v0.1.3

Weekly downloads
9
License
ISC
Repository
-
Last release
7 years ago

Checkbox bia.pt

A simple and reusable checkbox made with React.

Instalation

The package can be installed via NPM:

npm install @bia.pt/checkbox --save

Configuration

The most basic use of the Checkbox can be described with:

<Checkbox label="example checkbox" checked={bool} onChange={this.handleChange} />

Props

List of the props and types that can be used:

  • label: string - text of the checkbox;
  • checked: boolean - state of the checkbox (true/false);
  • onChange: function - what happens when user click on the checkbox;

Import

Simple import of the package:

import Checkbox from '@bia.pt/checkbox'

Dependencies

List of dependencies that you may have to install:

  • css-loader: ^0.28.11
  • prop-types: ^15.6.1
  • style-loader: ^0.21.0
  • webpack: ^2.7.0
0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago