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.
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')
);Download from NPM npm install color-panel --save
MIT