From 70f14e2d29b9e8ed52f3b8f60afa75cebc97716e Mon Sep 17 00:00:00 2001 From: Siddharth Date: Sun, 25 Aug 2024 22:27:08 -0700 Subject: [PATCH] chore: added Storybook workflow doc (#814) --- site/docs/pages/guides/contribution.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/site/docs/pages/guides/contribution.mdx b/site/docs/pages/guides/contribution.mdx index a66dc511f7..bc09bfe040 100644 --- a/site/docs/pages/guides/contribution.mdx +++ b/site/docs/pages/guides/contribution.mdx @@ -65,6 +65,18 @@ onchainkit ## Workflows +### Storybook + +Storybook is a frontend workshop for building UI components and pages in isolation. It helps you develop and share hard-to-reach states and edge cases without needing to run your whole app. + +To develop and test your components in Storybook, run the following command: + +```bash +yarn storybook:dev + +# In a browser, navigate to http://localhost:6006/ +``` + ### Testing Write and update existing unit tests. You can watch file changes and rerun tests automatically like this: