From 5aaf0787df57a93d5a1e3b939975c4dcb74defda Mon Sep 17 00:00:00 2001 From: Bryan de Jong Date: Tue, 17 Sep 2024 10:39:47 +0200 Subject: [PATCH] docs: add story sort order --- packages/storybook/config/preview.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/storybook/config/preview.ts b/packages/storybook/config/preview.ts index 40471a2..1d31eb3 100644 --- a/packages/storybook/config/preview.ts +++ b/packages/storybook/config/preview.ts @@ -4,7 +4,12 @@ import type { Preview } from '@storybook/react'; const preview: Preview = { parameters: { controls: { expanded: false }, - options: { panelPosition: 'right' }, + options: { + panelPosition: 'right', + storySort: { + order: ['VNG', 'Templates'], + }, + }, }, };