mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
Story updates
This commit is contained in:
parent
b560dcac3d
commit
597cbb5b9b
@ -1,7 +1,7 @@
|
||||
import React, { FunctionComponent } from 'react';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import { ColorPicker } from './ColorPicker';
|
||||
import { SeriesColorPicker } from './SeriesColorPicker';
|
||||
import SeriesColorPicker from './SeriesColorPicker';
|
||||
import ColorPicker from './ColorPicker';
|
||||
import { UseState } from './NamedColorsPalette.story';
|
||||
import { withKnobs, select } from '@storybook/addon-knobs';
|
||||
import { GrafanaTheme } from '../../types';
|
||||
@ -69,7 +69,7 @@ ColorPickerStories.add('Series color picker', () => {
|
||||
onChange={color => updateSelectedColor(color)}
|
||||
theme={selectedTheme || undefined}
|
||||
>
|
||||
<div style={{ color: selectedColor }}>Open color picker</div>
|
||||
<div style={{ color: selectedColor, cursor: 'pointer' }} >Open color picker</div>
|
||||
</SeriesColorPicker>
|
||||
);
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user