Skip to content

Commit

Permalink
fix bug emotion がStorybookでも動作するように
Browse files Browse the repository at this point in the history
  • Loading branch information
warugaki-web-developer committed Dec 11, 2021
1 parent 91aa060 commit 9e2c4b9
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 118 deletions.
4 changes: 4 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
framework: '@storybook/react',
babel: async (options) => {
options.presets.push('@emotion/babel-preset-css-prop');
return options;
},
};
Loading

0 comments on commit 9e2c4b9

Please sign in to comment.