From 002565a6ae146ac2378ef89c2737da1536f4031a Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Fri, 20 Dec 2024 03:16:27 +0900 Subject: [PATCH] Storybook: Make prop sort order consistent --- storybook/preview.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storybook/preview.js b/storybook/preview.js index 8372103cd99444..b74640d9bcfbcf 100644 --- a/storybook/preview.js +++ b/storybook/preview.js @@ -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: () => (