react-color-table
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-color-table

Display some colors in a table sorted by hue and lightness

NPM JavaScript Style Guide

Install

npm install --save react-color-table

Usage

import * as React from 'react'
 
import { ColorTable } from 'react-color-table'
 
export const Example = () =>
  <ColorTable
    colors={['#123123', 'rgba(123,123,123,12)']}
    averageDuplicates
    inferBlanks
  />

Props

name type default
colors string[] []
rowHeight? string/number 64
columnWidth? string/number '100%'
averageDuplicates boolean false
inferBlanks boolean false

License

MIT © Hermanya

Readme

Keywords

none

Package Sidebar

Install

npm i react-color-table

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

66.3 kB

Total Files

9

Last publish

Collaborators

  • hermanya