MCPcopy Index your code
hub / github.com/dannyhw/expo-storybook-starter

github.com/dannyhw/expo-storybook-starter @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4 symbols 13 edges 8 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension points exported contracts — how you extend this code

MyButtonProps (Interface)
(no doc)
components/Button.tsx

Core symbols most depended-on inside this repo

MyButton
called by 0
components/Button.tsx
RootLayout
called by 0
app/_layout.tsx
Index
called by 0
app/(pages)/index.tsx

Shape

Function 3
Interface 1

Languages

TypeScript100%

Modules by API surface

components/Button.tsx2 symbols
app/_layout.tsx1 symbols
app/(pages)/index.tsx1 symbols

For agents

$ claude mcp add expo-storybook-starter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page