Sample React Native app for testing Storybook workflow.
- Install dependencies:
yarn install
- Run storybook:
yarn storybook
- Run the app:
yarn start
To view and/or play around with storybook addons, like knobs, visit http://localhost:7007
on your web browser.
To run storyshots: yarn test
react-native-storybook-loader
is being used to override the default folder and file patterns established by @storybook/react-native
. In this repo, it helps isolate components into their own folders with their respective tests, stories and styles.