@hnordt/reax-checkboxdeprecated

Bootstrap Checkbox component for React

Usage no npm install needed!

<script type="module">
  import hnordtReaxCheckbox from 'https://cdn.skypack.dev/@hnordt/reax-checkbox';
</script>

README

Reax Checkbox

Bootstrap Checkbox component for React

npm version

PropTypes

{
  name: PropTypes.string,
  label: PropTypes.string,
  checked: PropTypes.bool,
  disabled: PropTypes.bool,
  onChange: PropTypes.func
}

Usage

npm install --save @hnordt/reax-checkbox
import React from 'react';
import Checkbox from '@hnordt/reax-checkbox';

const Foo = () => (
  <Checkbox
    label="Bar"
    checked={true}
    onChange={event => console.log(event.target.checked)} />
);

export default Foo;