diff --git a/src/components/Form/inputs/Select.stories.tsx b/src/components/Form/inputs/Select.stories.tsx index 7199f607..88432519 100644 --- a/src/components/Form/inputs/Select.stories.tsx +++ b/src/components/Form/inputs/Select.stories.tsx @@ -23,7 +23,11 @@ export default meta; /////////////////////////////////////////////////////////// // STORIES -type Story = StoryObj; +/** + * - **Q:** Why not use `type Story = StoryObj`? + * - **A:** Such a `Story` type would not be re-usable across multiple `Select` stories + * due to the component's type params, e.g., `SelectProps`. + */ export const BasicDemo = { args: { @@ -37,4 +41,5 @@ export const BasicDemo = { initialValues: { food: null }, }, }, -} satisfies Story; +} satisfies StoryObj & FormDecoratorArgs>>; +