diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-21 18:42:19 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-21 19:24:48 +0200 |
| commit | 4581c262ca06704baaa3c0a172d509207f41f5c3 (patch) | |
| tree | 45ef2fe8eafbcb3c54d7e4bee708299da40c715c /src/components/molecules/nav/pagination.stories.tsx | |
| parent | 0145e687ccd49da08982f6e281ebcbdcb9ef74a7 (diff) | |
chore: complete Storybook stories
Diffstat (limited to 'src/components/molecules/nav/pagination.stories.tsx')
| -rw-r--r-- | src/components/molecules/nav/pagination.stories.tsx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/molecules/nav/pagination.stories.tsx b/src/components/molecules/nav/pagination.stories.tsx index b31c2b5..2e86db4 100644 --- a/src/components/molecules/nav/pagination.stories.tsx +++ b/src/components/molecules/nav/pagination.stories.tsx @@ -1,5 +1,4 @@ import { ComponentMeta, ComponentStory } from '@storybook/react'; -import { IntlProvider } from 'react-intl'; import PaginationComponent from './pagination'; /** @@ -8,6 +7,10 @@ import PaginationComponent from './pagination'; export default { title: 'Molecules/Navigation/Pagination', component: PaginationComponent, + args: { + baseUrl: '/page/', + siblings: 1, + }, argTypes: { 'aria-label': { control: { @@ -95,13 +98,6 @@ export default { }, }, }, - decorators: [ - (Story) => ( - <IntlProvider locale="en"> - <Story /> - </IntlProvider> - ), - ], } as ComponentMeta<typeof PaginationComponent>; const Template: ComponentStory<typeof PaginationComponent> = (args) => ( |
