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