Skip to content

Commit

Permalink
Storybook: Make prop sort order consistent (WordPress#68152)
Browse files Browse the repository at this point in the history
Co-authored-by: mirka <[email protected]>
Co-authored-by: tyxla <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 9b3e07f commit dea955c
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 dea955c

Please sign in to comment.