UNPKG

react-color

Version:

A Collection of Color Pickers from Sketch, Photoshop, Chrome & more

32 lines (25 loc) 586 B
'use strict'; /* @flow */ var React = require('react'); var ReactCSS = require('reactcss'); class ChromePointer extends ReactCSS.Component { classes(): any { return { 'default': { picker: { width: '12px', height: '12px', borderRadius: '6px', transform: 'translate(-6px, -1px)', backgroundColor: 'rgb(248, 248, 248)', boxShadow: '0 1px 4px 0 rgba(0, 0, 0, 0.37)', }, }, }; } render(): any { return ( <div is="picker"></div> ); } } module.exports = ChromePointer;