diff options
Diffstat (limited to 'src/components/templates/sectioned/sectioned-layout.stories.tsx')
| -rw-r--r-- | src/components/templates/sectioned/sectioned-layout.stories.tsx | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/components/templates/sectioned/sectioned-layout.stories.tsx b/src/components/templates/sectioned/sectioned-layout.stories.tsx index 9ff3b75..ce31a83 100644 --- a/src/components/templates/sectioned/sectioned-layout.stories.tsx +++ b/src/components/templates/sectioned/sectioned-layout.stories.tsx @@ -1,5 +1,4 @@ import { ComponentMeta, ComponentStory } from '@storybook/react'; -import { IntlProvider } from 'react-intl'; import SectionedLayoutComponent from './sectioned-layout'; /** @@ -8,7 +7,21 @@ import SectionedLayoutComponent from './sectioned-layout'; export default { title: 'Templates/Sectioned', component: SectionedLayoutComponent, + args: { + breadcrumbSchema: [], + }, argTypes: { + breadcrumbSchema: { + control: { + type: null, + }, + description: 'The JSON schema for breadcrumb items.', + type: { + name: 'object', + required: true, + value: {}, + }, + }, sections: { description: 'The different sections.', type: { @@ -18,15 +31,6 @@ export default { }, }, }, - decorators: [ - (Story) => ( - <IntlProvider locale="en"> - <div id="__next"> - <Story /> - </div> - </IntlProvider> - ), - ], parameters: { layout: 'fullscreen', }, |
