ColorPicker
Props
Component Usages
How to use
import React from 'react';
import { withBluerain } from '@blueeast/bluerain-os';
const ColorPickerSample = (props) => (
const BR = props.bluerain;
const ColorPicker = BR.Components.get('ColorPicker');
const View = BR.Components.get('View');
<View>
<ColorPicker
value={hsl}
hs
/>
<ColorPicker
value="#2AF795"
/>
<ColorPicker
value={{
h: '180',
s: '0.5',
l: '0.5',
r: '255',
g: '112',
b: '19',
a: '1',
}}
/>
</View>);
export default withBluerain(ColorPickerSample);Behaviors
Storybook
Last updated


