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

Latest commit

 

History

History
 
 

react-native

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Storybook for React Native

Greenkeeper badge Build Status CodeFactor Known Vulnerabilities BCH compliance codecov Storybook Slack

With Storybook for React Native you can design and develop individual React Native components without running your app.

Storybook Screenshot

For more information visit: storybooks.js.org

Getting Started

The getstorybook tool can be used to add Storybook to your React Native app. Install the getstorybook tool if necessary and run it from your project directory with these commands:

npm -g i @storybook/cli
getstorybook

Start the Storybook

After initial setup start the storybook server with the storybook npm script.

npm run storybook

also start your mobile app with the react-native command.

react-native run-ios
react-native run-android

Now, you can open http://localhost:7007 to view your storybook.

Learn More

Check the docs directory in this repo for more advanced setup guides and other info.