mirror of
https://github.com/apache/superset.git
synced 2026-04-27 12:05:24 +00:00
chore(lint): convert Storybook stories and shared utils to function components
Converts all .stories.tsx files across plugins and packages, plus shared .storybook/shared utilities, from class components to function components. No functional changes — purely structural cleanup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
import { SuperChart } from '@superset-ui/core';
|
||||
import { supersetTheme } from '@apache-superset/core/ui';
|
||||
import { WordCloudChartPlugin } from '@superset-ui/plugin-chart-word-cloud';
|
||||
import { withResizableChartDemo } from '@storybook-shared';
|
||||
import data from './data';
|
||||
@@ -74,6 +75,7 @@ export const Basic = ({
|
||||
height: number;
|
||||
}) => (
|
||||
<SuperChart
|
||||
theme={supersetTheme}
|
||||
chartType="word-cloud2"
|
||||
width={width}
|
||||
height={height}
|
||||
|
||||
Reference in New Issue
Block a user