UNPKG

react-color

Version:

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

18 lines (14 loc) 379 B
--- id: api-position title: position --- Use `position` alongside `display` to position the popup relative to the container. It takes `left` `right` and `below` as options. ``` var React = require('react'); var ColorPicker = require('react-color'); class Component extends React.Component { render() { return <ColorPicker position="below" display={ true } />; } } ```