From ca7d30779149c79756dc2606ecc00fa9bdcf26d4 Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Tue, 30 Jan 2024 11:08:56 +0000 Subject: [PATCH] docs:version --- packages/react-native/readme.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/react-native/readme.md b/packages/react-native/readme.md index b8ab2d07dc..4e125b683b 100644 --- a/packages/react-native/readme.md +++ b/packages/react-native/readme.md @@ -2,7 +2,9 @@ With Storybook for React Native you can design and develop individual React Native components without running your app. -This readme is for the 7.6 version, you can find older versions by browsing the different version tags. +This readme is for the 7.6.10 version, you can find the 6.5 docs [here](https://github.com/storybookjs/react-native/tree/v6.5-stable). + +If you are migrating from 6.5 to 7.6 you can find the migration guide [here](https://github.com/storybookjs/react-native/blob/next/MIGRATION.md#from-version-65x-to-76x) For more information about storybook visit: [storybook.js.org](https://storybook.js.org) @@ -35,12 +37,6 @@ For expo you can use this [template](https://github.com/dannyhw/expo-template-st ```sh # With NPM npx create-expo-app --template expo-template-storybook AwesomeStorybook - -# With Yarn -yarn create expo-app --template expo-template-storybook AwesomeStorybook - -# With pnpm -pnpm create expo-app --template expo-template-storybook AwesomeStorybook ``` For react native cli you can use this [template](https://github.com/dannyhw/react-native-template-storybook) @@ -54,7 +50,7 @@ npx react-native init MyApp --template react-native-template-storybook Run init to setup your project with all the dependencies and configuration files: ```sh -npx sb@latest init --type react_native +npx storybook@latest init ``` The only thing left to do is return Storybook's UI in your app entry point (such as `App.tsx`) like this: