Skip to content

chore: documentedStoriesOf named export

Paul Gascou-Vaillancourt requested to merge 589-illegal-mix-csf-storiesof into master

This converts the default export in documentation/documented_stories.js to a named export. This change fixes some errors being logged by Storybook since the introduction of the Component Story Format which seems to be unhappy when a file uses storiesOf() and has a default export.

image

This change also aligns with the accepted RFC to prefer named exports over default exports: gitlab-org/frontend/rfcs#20 (closed)

Closes #589 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports