Skip to content

dannyhw/expo-template-storybook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 10, 2025
62373a6 · Feb 10, 2025

History

64 Commits
Jan 28, 2022
Feb 10, 2025
Jan 24, 2025
Jan 28, 2022
Sep 22, 2024
Jan 28, 2022
Jul 22, 2023
Jan 24, 2025
Feb 10, 2025
Feb 10, 2025
Dec 4, 2022
Jan 28, 2022
Jan 24, 2025
Feb 10, 2025
Jan 28, 2022
Feb 10, 2025

Repository files navigation

picture of storybook

getting started

npx create-expo-app --template expo-template-storybook AwesomeStorybook

or

yarn create expo-app --template expo-template-storybook AwesomeStorybook

app

yarn start

RN Storybook (ondevice)

In this template you can now run yarn storybook to start ondevice storybook or yarn start to start your expo app. This works via env variables and expo constants.

# either
yarn storybook

# ios
yarn storybook:ios

# android
yarn storybook:android

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 storybook-generate

Web

Start react native web storybook:

yarn storybook:web

build react native web storybook:

yarn build-storybook