Skip to content

Commit

Permalink
Restructure (replace Lib with Hooks)
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinundfritz committed Oct 5, 2022
1 parent 9ab35c2 commit 0565b32
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .storybook/order.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
["Introduction", "Colors", "Typography", "Spacing", "Grid", "Breakpoints"],
"Elements",
"Objects",
"Components"
"Components",
"Hooks"
]
2 changes: 1 addition & 1 deletion src/lib/shared/form/form_with_provider.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const SelectField = <T extends Values>({ name }: { name: KeysMatching<T, string>

// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
export default {
title: 'Lib/Form/Form with provider',
title: 'Hooks/Form/Form with provider',
component: FormWithProvider,
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes
} as ComponentMeta<typeof FormWithProvider>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/shared/form/form_without_provider.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const FormWithoutProvider = (_: {}) => {

// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
export default {
title: 'Lib/Form/Form without provider',
title: 'Hooks/Form/Form without provider',
component: FormWithoutProvider,
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes
} as ComponentMeta<typeof FormWithoutProvider>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/shared/form/use_form/use_form.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useUseFormReturnRegister } from './use_use_form_return_register.tsx'
import { Template } from './use_form_story_template.tsx'

<Meta
title="Lib/Form/useForm"
title="Hooks/Form/useForm"
component={useForm}
parameters={{
viewMode: 'docs',
Expand Down

0 comments on commit 0565b32

Please sign in to comment.