Skip to content

Commit 9bcaad7

Browse files
author
timmydoza
authored
Fix mobile landscape grid (#738)
* Get storybook working with react-scripts 5 * Fix landscape behavior in MobileGalleryView component * Update existing tests and add tests for landscape MobileGalleryView * fix storybook and npm start command
1 parent 961c140 commit 9bcaad7

File tree

6 files changed

+4320
-6425
lines changed

6 files changed

+4320
-6425
lines changed

.storybook/main.js

+11-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
module.exports = {
22
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
3-
addons: [
4-
'@storybook/addon-links',
5-
{
6-
name: '@storybook/addon-essentials',
7-
options: { backgrounds: false, docs: false },
8-
},
9-
'@storybook/preset-create-react-app',
10-
],
3+
addons: ['@storybook/addon-links', {
4+
name: '@storybook/addon-essentials',
5+
options: {
6+
backgrounds: false,
7+
docs: false
8+
}
9+
}, '@storybook/preset-create-react-app'],
1110
framework: '@storybook/react',
1211
webpackFinal: config => {
1312
config.resolve.alias['twilio-video'] = require.resolve('../src/stories/mocks/twilio-video.js');
1413
return config;
1514
},
16-
};
15+
core: {
16+
builder: 'webpack5'
17+
}
18+
};

0 commit comments

Comments
 (0)