Skip to content

Commit

Permalink
Storybook: Make prop sort order consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Dec 19, 2024
1 parent 9b3e07f commit 002565a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ export const parameters = {
sort: 'requiredFirst',
},
docs: {
controls: {
sort: 'requiredFirst',
},
// Flips the order of the description and the primary component story
// so the component is always visible before the fold.
page: () => (
Expand Down

0 comments on commit 002565a

Please sign in to comment.