Skip to content

Commit d088c2d

Browse files
authored
docs(Storybook): Add empty theme option (#86)
This prevents a TypeError caused by storybook-readme
1 parent 316a976 commit d088c2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.storybook/config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { configure } from '@storybook/react';
1+
import { configure, addParameters } from '@storybook/react';
22
import { setOptions } from '@storybook/addon-options';
33

44
setOptions({
@@ -7,4 +7,6 @@ setOptions({
77
downPanelInRight: true,
88
});
99

10+
addParameters({ options: { theme: {} } });
11+
1012
configure(() => require('../docs/docs/index.js'), module);

0 commit comments

Comments
 (0)