Skip to content

Commit 609ddbb

Browse files
author
Sharma
committed
Fixed Form and TwoColumn Form errors
1 parent 7e7eb60 commit 609ddbb

File tree

4 files changed

+12
-112
lines changed

4 files changed

+12
-112
lines changed

.storybook-constellation/main.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ const config = {
88
reactDocgen: 'react-docgen-typescript'
99
},
1010

11-
addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions', '@chromatic-com/storybook'],
11+
addons: [
12+
'@storybook/addon-links',
13+
'@storybook/addon-essentials',
14+
{
15+
name: '@storybook/addon-docs',
16+
options: { mdxBabelOptions: { babelrc: true, configFile: true } }
17+
}
18+
],
1219
framework: '@storybook/react-webpack5',
1320

1421
webpackFinal: async config => {

.storybook-constellation/preview.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ const parameters = {
3838
}
3939
]
4040
},
41-
tags: ['!autodocs']
41+
docs: {
42+
source: { type: 'code' },
43+
codePanel: true
44+
}
4245
};
4346

4447
const preview: Preview = {

__mocks__/react_pconnect.jsx

Lines changed: 0 additions & 70 deletions
This file was deleted.

__mocks__/state-utils.tsx

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)