diff --git a/.changeset/real-clocks-swim.md b/.changeset/real-clocks-swim.md new file mode 100644 index 0000000000..e48da7c799 --- /dev/null +++ b/.changeset/real-clocks-swim.md @@ -0,0 +1,5 @@ +--- +"pie-storybook": minor +--- + +[Changed] - Alphabetically sort components in Storybook sidebar diff --git a/apps/pie-storybook/.storybook/preview.ts b/apps/pie-storybook/.storybook/preview.ts index 8245acbdb7..6edc018d1d 100644 --- a/apps/pie-storybook/.storybook/preview.ts +++ b/apps/pie-storybook/.storybook/preview.ts @@ -90,6 +90,11 @@ export default { viewport: { viewports: CUSTOM_VIEWPORTS }, - layout: 'centered' + layout: 'centered', + options: { + storySort: { + method: 'alphabetical', + } + } } };