Skip to content

Commit 48527a8

Browse files
committed
More fixes
1 parent 3c2aa45 commit 48527a8

14 files changed

+28667
-28397
lines changed

.storybook/main.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ module.exports = {
1010
name: "@storybook/addon-docs",
1111
options: {
1212
configureJSX: true,
13-
inlineStories: false,
13+
inlineStories: true,
1414
},
1515
},
1616
"@storybook/addon-mdx-gfm",
1717
"@storybook/addon-webpack5-compiler-babel",
18+
"@chromatic-com/storybook",
1819
],
1920

2021
webpackFinal: async (config, { configType }) => {
@@ -42,7 +43,7 @@ module.exports = {
4243
docs: {
4344
autodocs: true,
4445
story: {
45-
inline: false,
46+
inline: true,
4647
height: "500px",
4748
},
4849
},

.storybook/preview.js

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
export const parameters = {
2-
docs: {
3-
story: {
4-
inline: false, // Render stories in an iframe
1+
module.exports = {
2+
parameters: {
3+
actions: { argTypesRegex: "^on.*" },
4+
docs: {
5+
story: {
6+
inline: true, // Render stories in an iframe
7+
},
58
},
69
},
710
};

0 commit comments

Comments
 (0)