File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ // @ts -check
2
+ /**
3
+ * @file Defines the main configuration file for all of our Storybook tests.
4
+ * This file must be a JSX/JS file, but we can at least add some type safety via
5
+ * the ts-check directive.
6
+ * @see {@link https://storybook.js.org/docs/configure#configure-story-rendering }
7
+ *
8
+ * @typedef {import("react").ReactElement } ReactElement
9
+ * @typedef {import("react").PropsWithChildren } PropsWithChildren
10
+ * @typedef {import("react").FC<PropsWithChildren> } FC
11
+ *
12
+ * @typedef {import("@storybook/react").StoryContext } StoryContext
13
+ * @typedef {import("@storybook/react").Preview } Preview
14
+ *
15
+ * @typedef {(Story: FC, Context: StoryContext) => React.JSX.Element } Decorator A
16
+ * Storybook decorator function used to inject baseline data dependencies into
17
+ * our React components during testing.
18
+ */
1
19
import "../src/index.css" ;
2
20
import { ThemeProvider as EmotionThemeProvider } from "@emotion/react" ;
3
21
import CssBaseline from "@mui/material/CssBaseline" ;
You can’t perform that action at this time.
0 commit comments