Skip to content

Commit

Permalink
docs: reanimated example config (#68)
Browse files Browse the repository at this point in the history
* fix: namespace from babel plugin shouldnt be required

* docs: reanimated example config
  • Loading branch information
dannyhw authored Jul 15, 2023
1 parent 9cfadb1 commit 726d06e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@ module.exports = {
name: '@storybook/addon-react-native-web',
options: {
modulesToTranspile: ['react-native-reanimated'],
babelPlugins: ['react-native-reanimated/plugin'],
babelPlugins: [
'@babel/plugin-proposal-export-namespace-from',
'react-native-reanimated/plugin',
],
},
},
],
Expand Down

0 comments on commit 726d06e

Please sign in to comment.