Skip to content

Commit

Permalink
Add installation instructions.
Browse files Browse the repository at this point in the history
Add installation instructions.
  • Loading branch information
gibbok authored Jul 6, 2016
1 parent 18a24cd commit ca4599c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ColorPickerPalette is a React reusable color picker palette written in ES6.
---

### Great! So how do I use it?
- Add this dependecy in your package.json: `"dependencies": { "react-color-picker-palette": "^1.1.0" }`.
- Add this dependecy in your package.json: `"dependencies": { "react-color-picker-palette": "^1.1.0" }` and run `npm install`.
- Add a reference to ColorPickerPalette.js in your React application: `import ColorPickerPalette from '.node_modules/react-color-picker-palette/ColorPickerPalette.jsx`.
- Initiate the color picker in your `render()` function: `<ColorPickerPalette id='yourPicker'/>`.

Expand Down

0 comments on commit ca4599c

Please sign in to comment.