Skip to content

A sample React Native app showing how to use Storybook on React Native projects

Notifications You must be signed in to change notification settings

anchetaWern/RNStorybook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNStorybook

A sample React Native project which uses Storybook.

You can read the full tutorial at: https://pusher.com/tutorials/storybook-react-native

Note: the React Native code in this repo may be a little bit outdated and won't run immediately after you've followed the setup instructions. Be sure to refactor the code to use the more recent React Native syntax if it doesn't run for you.

Prerequisites

Getting Started

  1. Clone the repo:
git clone https://github.com/anchetaWern/RNStorybook.git
  1. Install the dependencies:
cd RNStorybook
yarn install
react-native eject
  1. Run the app:
react-native run-android
react-native run-ios
  1. Terminate React Native metro bundler

  2. Run Storybook bundler:

yarn storybook
  1. Run tests:
yarn test

Built With

Donation

If this project helped you reduce time to develop, please consider buying me a cup of coffee :)

Buy Me A Coffee

About

A sample React Native app showing how to use Storybook on React Native projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published