Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
fix(docs): Update Storybook instructions in README.md (#346 by @evanw…
Browse files Browse the repository at this point in the history
…chen)

[skip ci]
  • Loading branch information
evanwchen committed May 28, 2020
1 parent e84e004 commit 7b7c039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boilerplate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ This directory will hold your Jest configs and mocks, as well as your [storyshot
From the command line in your generated app's root directory, enter `yarn run storybook`
This starts up the storybook server.

In `app/app.tsx`, change `SHOW_STORYBOOK` to `true` and reload the app.
In `index.js`, change `SHOW_STORYBOOK` to `true` and reload the app.

For Visual Studio Code users, there is a handy extension that makes it easy to load Storybook use cases into a running emulator via tapping on items in the editor sidebar. Install the `React Native Storybook` extension by `Orta`, hit `cmd + shift + P` and select "Reconnect Storybook to VSCode". Expand the STORYBOOK section in the sidebar to see all use cases for components that have `.story.tsx` files in their directories.

Expand Down

0 comments on commit 7b7c039

Please sign in to comment.