diff --git a/components/ColorPicker.js b/components/ColorPicker.js new file mode 100644 index 0000000..542bd2f --- /dev/null +++ b/components/ColorPicker.js @@ -0,0 +1,48 @@ +import React from 'react' +import { SketchPicker } from 'react-color' + +import { COLORS } from '../lib/constants' + +const pickerStyle = { + picker: { + backgroundColor: COLORS.BLACK, + padding: '8px 8px 0', + margin: '0 auto 1px', + flex: '1 0 200px' + } +} + +const ColorPicker = ({ onChange = () => {}, color, presets }) => ( + + + + +) + +export default ColorPicker