Skip to content

Adds rootHeirarchies to the storybook config

Sam Beckham requested to merge 119-nested-stories into master

Allows us to section off the stories into groups to match https://design.gitlab.com/

Instead of just passing the name of the component to documentedStoriesOf we can pass a hierarchy like this documentedStoriesOf('regions|empty-state', readme). Any stories without a set group will live in the root.

It also configures all the exisiting stories to use the newer format.

image

Closes #119 (closed)

Merge request reports