diff --git a/packages/grafana-ui/src/components/Table/Table.story.tsx b/packages/grafana-ui/src/components/Table/Table.story.tsx index a300ecb99a2..69ba6309771 100644 --- a/packages/grafana-ui/src/components/Table/Table.story.tsx +++ b/packages/grafana-ui/src/components/Table/Table.story.tsx @@ -15,6 +15,7 @@ import { import { Table } from '@grafana/ui'; import { useTheme2 } from '../../themes'; +import { DashboardStoryCanvas } from '../../utils/storybook/DashboardStoryCanvas'; import { prepDataForStorybook } from '../../utils/storybook/data'; import { withCenteredStory } from '../../utils/storybook/withCenteredStory'; @@ -189,9 +190,9 @@ export const Basic: ComponentStory = (args) => { const data = buildData(theme, {}); return ( -
+ - + ); }; @@ -201,16 +202,19 @@ export const BarGaugeCell: ComponentStory = (args) => { Progress: { custom: { width: 200, - displayMode: 'gradient-gauge', + cellOptions: { + type: 'gauge', + mode: 'gradient', + }, }, thresholds: defaultThresholds, }, }); return ( -
+
- + ); }; @@ -227,9 +231,9 @@ export const ColoredCells: ComponentStory = (args) => { }); return ( -
+
- + ); }; @@ -239,9 +243,9 @@ export const Footer: ComponentStory = (args) => { const footer = buildFooterData(data); return ( -
+
- + ); }; @@ -263,9 +267,9 @@ export const SubTables: ComponentStory = (args) => { }); return ( -
+
- + ); };