Skip to content

Commit

Permalink
Merge pull request #12902 from TylerAPfledderer/chore/storybook-story…
Browse files Browse the repository at this point in the history
…-sort

chore(.storybook): sort stories by atomic design composition
  • Loading branch information
pettinarip authored May 7, 2024
2 parents f8eff4c + 3d995e5 commit 774f251
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ const preview: Preview = {
backgrounds: {
disable: true,
},
options: {
storySort: {
order: ["Atoms", "Molecules", "Organisms", "Templates", "Pages"],
},
},
chakra: {
theme: extendedTheme,
},
Expand Down

0 comments on commit 774f251

Please sign in to comment.