From c8a0ccec27ee9f6746ad29fa865a0a444a8af80f Mon Sep 17 00:00:00 2001 From: Raul Rene Lepsa Date: Thu, 12 Oct 2017 12:00:46 +0300 Subject: [PATCH] Updating readme --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f736070..f077e05 100644 --- a/README.md +++ b/README.md @@ -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'; @@ -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