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

Last updated