We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d796e90 commit 4d8fa82Copy full SHA for 4d8fa82
1 file changed
src/components/core/charts/LineChart/LineChart.stories.tsx
@@ -52,21 +52,7 @@ const DefaultRenderer = <
52
53
return (
54
<Box sx={{ height: 400 }}>
55
- <LineChart
56
- {...args}
57
- theme={{ ...theme, ...args.theme }}
58
- // theme={{
59
- // areaTopColor: isLightTheme
60
- // ? `#F2D9F6`
61
- // : (theme.vars || theme).palette.accent2Alt,
62
- // areaBottomColor: isLightTheme
63
- // ? (theme.vars || theme).palette.white.main
64
- // : (theme.vars || theme).palette.bg.main,
65
- // pointColor: (theme.vars || theme).palette.accent1.main,
66
- // lineColor: (theme.vars || theme).palette.accent2.main,
67
- // ...args.theme,
68
- // }}
69
- />
+ <LineChart {...args} theme={{ ...theme, ...args.theme }} />
70
</Box>
71
);
72
};
0 commit comments