Skip to content

Commit

Permalink
docs: add metro babel preset (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw authored Feb 18, 2023
1 parent 52cb9f2 commit 1a908fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Assuming you've got an existing RN project, run the following from the project r

```sh
npx sb init --type react
yarn add react-dom react-native-web babel-plugin-react-native-web @storybook/addon-react-native-web --dev
yarn add react-dom react-native-web babel-plugin-react-native-web @storybook/addon-react-native-web metro-react-native-babel-preset --dev
```

Then edit your `.storybook/main.js`:
Expand Down

0 comments on commit 1a908fe

Please sign in to comment.