andrejcesen / expo-storybook-starter

A starter repo for expo and storybook for react-native and react-native-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

getting started

To get all the dependencies run

yarn install

To run on the web use

yarn storybook

To run on ios or android

yarn start

Then from open the app from the terminal or from the expo ui in ios or android.

important for ondevice

If you add new stories on the native (ondevice version) you either need to have the watcher running or run the stories loader

To update the stories one time

yarn update-stories

To watch the stories files

yarn storybook-watcher

Note that this is only necessary for when you add or remove a story file.

About

A starter repo for expo and storybook for react-native and react-native-web


Languages

Language:JavaScript 95.9%Language:TypeScript 4.1%