mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-28 21:18:47 +00:00
storybook ColorPicker fixed
This commit is contained in:
parent
db784c73a2
commit
b954a69d69
1 changed files with 3 additions and 3 deletions
|
|
@ -3,10 +3,10 @@ const { storiesOf } = require('@storybook/react');
|
|||
const { ColorPicker } = require('stremio/common');
|
||||
const styles = require('./styles');
|
||||
|
||||
storiesOf('ColorPicker', module).add('ColorPicker', () => {
|
||||
storiesOf('ColorPicker', module).add('ColorPicker', () => (
|
||||
<ColorPicker
|
||||
className={styles['color-picker-container']}
|
||||
value={'#000000'}
|
||||
onChange={function() { alert('Demo item clicked') }}
|
||||
onChange={(color) => { console.log(color) }}
|
||||
/>
|
||||
});
|
||||
));
|
||||
|
|
|
|||
Loading…
Reference in a new issue