瀏覽代碼

Story updates

Dominik Prokop 7 年之前
父節點
當前提交
597cbb5b9b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      packages/grafana-ui/src/components/ColorPicker/ColorPicker.story.tsx

+ 3 - 3
packages/grafana-ui/src/components/ColorPicker/ColorPicker.story.tsx

@@ -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>
         );
         );
       }}
       }}