File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 8
8
* @typedef {import("react").ReactElement } ReactElement
9
9
* @typedef {import("react").PropsWithChildren } PropsWithChildren
10
10
* @typedef {import("react").FC<PropsWithChildren> } FC
11
+ *
11
12
* @typedef {import("@storybook/react").StoryContext } StoryContext
13
+ * @typedef {import("@storybook/react").Preview } Preview
12
14
*
13
15
* @typedef {(Story: FC, Context: StoryContext) => React.JSX.Element } Decorator A
14
16
* Storybook decorator function used to inject baseline data dependencies into
@@ -31,9 +33,10 @@ import themes from "../src/theme";
31
33
32
34
DecoratorHelpers . initializeThemeState ( Object . keys ( themes ) , "dark" ) ;
33
35
34
- /**@type {readonly Decorator[] } */
36
+ /** @type {readonly Decorator[] } */
35
37
export const decorators = [ withRouter , withQuery , withHelmet , withTheme ] ;
36
38
39
+ /** @type {Preview["parameters"] } */
37
40
export const parameters = {
38
41
options : {
39
42
storySort : {
You can’t perform that action at this time.
0 commit comments