From 2a82d1cc77c6e1c807355024c0e331b4f701b41b Mon Sep 17 00:00:00 2001 From: Fergus Ruston Date: Wed, 8 Nov 2023 09:31:29 +0000 Subject: [PATCH] docs: adds some clearer categorisation to storybook stories (#135) --- stories/Button/Button.stories.tsx | 2 +- stories/Checkbox/Checkbox.stories.ts | 2 +- stories/Label/Label.stories.ts | 2 +- stories/Radio/Radio.stories.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stories/Button/Button.stories.tsx b/stories/Button/Button.stories.tsx index 5a8351d0..18928d30 100644 --- a/stories/Button/Button.stories.tsx +++ b/stories/Button/Button.stories.tsx @@ -3,7 +3,7 @@ import { Button } from '@/components/Button' // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export const meta = { - title: 'Components/Button', + title: 'Form/Button', component: Button, parameters: { // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout diff --git a/stories/Checkbox/Checkbox.stories.ts b/stories/Checkbox/Checkbox.stories.ts index 454aba6b..aac7ecaf 100644 --- a/stories/Checkbox/Checkbox.stories.ts +++ b/stories/Checkbox/Checkbox.stories.ts @@ -4,7 +4,7 @@ import { CheckboxDemo } from './CheckBox.example' // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export const meta = { - title: 'Components/Checkbox', + title: 'Form/Checkbox', component: CheckboxDemo, parameters: { // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout diff --git a/stories/Label/Label.stories.ts b/stories/Label/Label.stories.ts index b9e4df60..d35aea97 100644 --- a/stories/Label/Label.stories.ts +++ b/stories/Label/Label.stories.ts @@ -4,7 +4,7 @@ import { LabelDemo } from './Label.example' // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export const meta = { - title: 'Components/Label', + title: 'Form/Label', component: LabelDemo, parameters: { // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout diff --git a/stories/Radio/Radio.stories.ts b/stories/Radio/Radio.stories.ts index 57dd92f8..35e343eb 100644 --- a/stories/Radio/Radio.stories.ts +++ b/stories/Radio/Radio.stories.ts @@ -4,7 +4,7 @@ import { RadioGroupDemo } from './Radio.example' // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export const meta = { - title: 'Components/RadioGroup', + title: 'Form/RadioGroup', component: RadioGroupDemo, parameters: { // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout