0012 - Use Named Exports in Storybook¶
Date¶
2023-02-21
Status¶
Accepted
Context¶
The recommendation has shifted from using the old storiesOf API to use named exports over default exports.
Decision¶
We will use named exports over default exports. Also use StoryObj rather than Story to help with type safety.
Consequences¶
Named exports will allow the use of args and type safety.