Skip to content

Commit

Permalink
fix(docs): lint and fix EUI breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
markov00 committed Mar 20, 2023
1 parent 690f568 commit 0d14194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storybook/stories/heatmap/1_basic.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { action } from '@storybook/addon-actions';
import { boolean, number } from '@storybook/addon-knobs';
import { boolean } from '@storybook/addon-knobs';
import React, { useMemo } from 'react';

import {
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/metric/1_basic.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const Example = () => {
extra = extra.replace('&lt;b&gt;', '<b>');
extra = extra.replace('&lt;/b&gt;', '</b>');
const showIcon = boolean('show icon', false);
const iconType = text('EUI icon glyph name', 'alert');
const iconType = text('EUI icon glyph name', 'warning');
const getIcon =
(type: string) =>
({ width, height, color }: { width: number; height: number; color: string }) =>
Expand Down

0 comments on commit 0d14194

Please sign in to comment.