1.0.1 • Published 9 years ago
react-colours v1.0.1
Colours {
Like colors, but Canadian
:art: A React component to visualize and easily access a colour palette

Install
npm install react-coloursBasic Usage
Import the React component:
import Colours from 'react-colours';
const colours = ['#277bc4', '#68c89e', '#ec89aa', '#a66ace', '#44b1da'];
class MyApp extends React.Component {
render() {
return (
<Colours colours={colours} />
);
}
}Props
colours
This is a list of colours that you want to display on the screen. This can be in hex, rgb, rgba, hsl, and hsla.
License
2017 © Zack Harley
:fork_and_knife: Fork away!