Skip to content

cinego/RNStorybook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%