Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 706aaa1

Browse files
authored
Merge pull request #11315 from jonniebigodes/chore_fix_storybook_instructions
Chore: (Docs) Updates for the Storybook docs
2 parents c6b0140 + 2821fca commit 706aaa1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docusaurus/docs/developing-components-in-isolation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Usually, it’s hard to see these states without running a sample app or some ex
1414

1515
Create React App doesn’t include any tools for this by default, but you can add [Storybook for React](https://storybook.js.org) ([source](https://github.com/storybooks/storybook)) or [React Styleguidist](https://react-styleguidist.js.org/) ([source](https://github.com/styleguidist/react-styleguidist)) to your project. **These are third-party tools that let you develop components and see all their states in isolation from your app**.
1616

17-
![Storybook for React Demo](https://i.imgur.com/7CIAWpB.gif)
17+
![Storybook for React Demo](https://raw.githubusercontent.com/storybookjs/storybook/next/docs/get-started/storybook-third-party-docs.gif)
1818

1919
You can also deploy your Storybook or style guide as a static app. This way, everyone in your team can view and review different states of UI components without starting a backend server or creating an account in your app.
2020

@@ -25,15 +25,15 @@ Storybook is a development environment for React UI components. It allows you to
2525
Run the following command inside your app’s directory:
2626

2727
```sh
28-
npx -p @storybook/cli sb init
28+
npx sb init
2929
```
3030

3131
After that, follow the instructions on the screen.
3232

3333
Learn more about React Storybook:
3434

35-
- [Learn Storybook (tutorial)](https://learnstorybook.com)
36-
- [Documentation](https://storybook.js.org/basics/introduction/)
35+
- [Learn Storybook (tutorial)](https://storybook.js.org/tutorials/)
36+
- [Documentation](https://storybook.js.org/docs/react/get-started/introduction)
3737
- [GitHub Repo](https://github.com/storybooks/storybook)
3838
- [Snapshot Testing UI](https://github.com/storybooks/storybook/tree/master/addons/storyshots) with Storybook + addon/storyshot
3939

0 commit comments

Comments
 (0)