Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 644 Bytes

storybook.md

File metadata and controls

24 lines (15 loc) · 644 Bytes

Write a story

In this guide, we'll walk through render our newly styled custom Strong component in Storybook.

Initial files

The first thing we'll need to do is create a dedicated Strong directory under stories/:

hsds-react/
  └── stories/
      └── Strong/
        └── Strong.stories.mdx

Writing stories

Next

Let's write some tests to make sure Strong works as we expect it to. (Just in case!)

See also