-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): workaround storybook issue storybookjs/storybook#23604
- Loading branch information
Showing
5 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { baseStorybookPreview } from 'config-storybook'; | ||
// import { baseStorybookPreview } from 'config-storybook'; | ||
|
||
import 'common/styles/global.css'; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default baseStorybookPreview; | ||
// Uncomment when issue is fixed - https://github.com/storybookjs/storybook/issues/23604 | ||
// export default baseStorybookPreview; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import { baseStorybookPreviewMui } from 'config-storybook'; | ||
// import { baseStorybookPreviewMui } from 'config-storybook'; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default baseStorybookPreviewMui; | ||
// Uncomment when issue is fixed - https://github.com/storybookjs/storybook/issues/23604 | ||
// export default baseStorybookPreviewMui; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
import { baseStorybookPreviewMui } from 'config-storybook'; | ||
import { ThemeProvider, CssBaseline } from '@mui/material'; | ||
import { theme } from 'config-mui'; | ||
|
||
// import { baseStorybookPreviewMui } from 'config-storybook'; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
// Uncomment when issue is fixed - https://github.com/storybookjs/storybook/issues/23604 | ||
// export default baseStorybookPreviewMui; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default baseStorybookPreviewMui; | ||
export default { | ||
decorators: [ | ||
// @ts-expect-error Remove when issue is fixed - https://github.com/storybookjs/storybook/issues/23604 | ||
(Story) => ( | ||
<ThemeProvider theme={theme}> | ||
<CssBaseline /> | ||
<Story /> | ||
</ThemeProvider> | ||
), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { baseStorybookPreview } from 'config-storybook'; | ||
// import { baseStorybookPreview } from 'config-storybook'; | ||
|
||
import 'global.css'; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default baseStorybookPreview; | ||
// Uncomment when issue is fixed - https://github.com/storybookjs/storybook/issues/23604 | ||
// export default baseStorybookPreview; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import { baseStorybookPreview } from 'config-storybook'; | ||
// import { baseStorybookPreview } from 'config-storybook'; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default baseStorybookPreview; | ||
// Uncomment when issue is fixed - https://github.com/storybookjs/storybook/issues/23604 | ||
// export default baseStorybookPreview; |