Skip to content

Commit

Permalink
fix: missing path from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Jan 30, 2024
1 parent 5aed8e2 commit fe1a58d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ yarn add -D @storybook/addon-react-native-web @storybook/addon-essentials storyb
```

With expo you should also add `@expo/metro-runtime`.
i

#### Update package.json scripts

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Then set `transformer.unstable_allowRequireContext` to true and add the generate

```js
// metro.config.js

const path = require('path');
const { getDefaultConfig } = require('expo/metro-config');

const { generate } = require('@storybook/react-native/scripts/generate');
Expand All @@ -98,6 +98,7 @@ module.exports = defaultConfig;
**React native**

```js
const path = require('path');
const { generate } = require('@storybook/react-native/scripts/generate');

generate({
Expand Down
3 changes: 2 additions & 1 deletion packages/react-native/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Then set `transformer.unstable_allowRequireContext` to true and add the generate

```js
// metro.config.js

const path = require('path');
const { getDefaultConfig } = require('expo/metro-config');

const { generate } = require('@storybook/react-native/scripts/generate');
Expand All @@ -98,6 +98,7 @@ module.exports = defaultConfig;
**React native**

```js
const path = require('path');
const { generate } = require('@storybook/react-native/scripts/generate');

generate({
Expand Down

0 comments on commit fe1a58d

Please sign in to comment.