<commit_before>react-ladda
===========

[![Build Status](https://travis-ci.org/jsdir/react-ladda.png)](https://travis-ci.org/jsdir/ladda) [![Dependency Status](https://david-dm.org/jsdir/react-ladda.svg)](https://david-dm.org/jsdir/react-ladda) [![NPM version](https://badge.fury.io/js/react-ladda.png)](http://badge.fury.io/js/react-ladda)

React wrapper for [Ladda buttons](https://github.com/hakimel/Ladda).

Installation
------------

```sh
npm install --save react-ladda
```

Browserify takes care of the rest.

Usage
-----

`LaddaButton` is a component that can be wrapped around any single button:<commit_msg>Improved installation docs<commit_after>react-ladda
===========

[![Build Status](https://travis-ci.org/jsdir/react-ladda.png)](https://travis-ci.org/jsdir/ladda) [![Dependency Status](https://david-dm.org/jsdir/react-ladda.svg)](https://david-dm.org/jsdir/react-ladda) [![NPM version](https://badge.fury.io/js/react-ladda.png)](http://badge.fury.io/js/react-ladda)

React wrapper for [Ladda buttons](https://github.com/hakimel/Ladda).

Installation
------------

Install the package:

```sh
$ npm install --save react-ladda
```

Install ladda using bower:

```sh
$ bower install --save ladda
```

Since react-ladda depends on ladda, we can require ladda with the [debowerify](https://github.com/eugeneware/debowerify) transform.

```sh
$ npm install --save-dev debowerify
```

Make sure to run the debowerify as a global transform so that ladda can be required by react-ladda. Browserify takes care of the rest.

```sh
$ cat source.js
var LaddaButton = require('react-ladda');
$ browserify -g debowerify source.js > compiled.js
```

Usage
-----

`LaddaButton` is a component that can be wrapped around any single button:
{'fraction_non_alphanumeric': 0.18595279217040875, 'fraction_numerical': 0.0, 'mean_word_length': 4.188059701492537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1284473', 'n_tokens_mistral': 651, 'n_tokens_neox': 604, 'n_words': 134}