Skip to content

Commit

Permalink
chore: reorder categories in Storybook sidebar (#13368)
Browse files Browse the repository at this point in the history
chore: reorder categories in Storybook sidebar
  • Loading branch information
koji authored Aug 23, 2023
1 parent 8071826 commit 8f16946
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ export const customViewports = {
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
viewport: { viewports: customViewports },
options: {
storySort: {
method: 'alphabetical',
order: ['Design Tokens', 'Library', 'App', 'ODD'],
},
},
}

// Global decorator to apply the styles to all stories
Expand Down

0 comments on commit 8f16946

Please sign in to comment.