0.5.0 • Published 8 years ago
color-panel v0.5.0
��## Synopsis
A React Component for a color panel. The color panel accepts a parameter of height and width. It then evenly distributes those colors in a column fashion.
Code Example
Download from NPM npm install color-panel --save
Then include the component into your react like so:
'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import ColorPanel from 'component/index.jsx';
ReactDOM.render(
<ColorPanel colors={['#000', '#333', '#666', '#999', '#ccc', '#fff']} width="15em" height="1.5em" />,
document.getElementById('entry')
);
Get Started
Download from NPM npm install color-panel --save
License
MIT