Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
raulrene committed Oct 12, 2017
1 parent 3d5af45 commit c8a0cce
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# React Utils Button
Lightweight React Button component, serving as an utility wrapper over the HTML button element.

##Installation
## Installation

```sh
npm install react-slider
npm install react-utils-button
```

##Usage
## Usage

```javascript
import Button from 'react-utils-button';

Expand All @@ -23,7 +25,7 @@ The library can also be loaded via require:
const Button = require('react-utils-button')
```

##Options
## Options
- **value** (string, required) - value to be displayed inside the button
- **className** (string) - extra classes
- **onClick** (function) - callback function
Expand Down

0 comments on commit c8a0cce

Please sign in to comment.