<commit_before>An elegant, accessible toggle component for React. Also a glorified checkbox.

See [example](http://instructure-react.github.io/react-toggle/).

## Usage

```bash
npm install react-toggle
```

```javascript
import Toggle from 'react-toggle'
```

Don't forget to include the component's [CSS](https://raw.githubusercontent.com/instructure-react/react-toggle/master/example/styles.css).

## Development

```javascript
npm install
npm run dev
```

`index.es6.js` transpiles to `index.js`.

## Build

```javascript
npm run build
```

## License

MIT
<commit_msg>note on accessible usage<commit_after>An elegant, accessible toggle component for React. Also a glorified checkbox.

See [example](http://instructure-react.github.io/react-toggle/).

## Usage

```bash
npm install react-toggle
```

```javascript
import Toggle from 'react-toggle'
```

Don't forget to include the component's [CSS](https://raw.githubusercontent.com/instructure-react/react-toggle/master/example/styles.css).

Wrap the component in a label for accessibility.

## Development

```javascript
npm install
npm run dev
```

`index.es6.js` transpiles to `index.js`.

## Build

```javascript
npm run build
```

## License

MIT

{'fraction_non_alphanumeric': 0.140016570008285, 'fraction_numerical': 0.0016570008285004142, 'mean_word_length': 4.752380952380952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '847034', 'n_tokens_mistral': 402, 'n_tokens_neox': 364, 'n_words': 107}