diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-16 12:46:38 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-16 12:46:38 +0200 |
| commit | 2155550fa36a3bc3c8f66e0926530123b4018cd4 (patch) | |
| tree | 1b7472d7ceeb9c95b2c6de6440b48b94405e155e /src/components/templates/page/page-layout.stories.tsx | |
| parent | 8a55aa83bd4b64d1d989cb49b7d9c3fdc1cc6ea5 (diff) | |
refactor: use custom hook for breadcrumb items and schema
Diffstat (limited to 'src/components/templates/page/page-layout.stories.tsx')
| -rw-r--r-- | src/components/templates/page/page-layout.stories.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/templates/page/page-layout.stories.tsx b/src/components/templates/page/page-layout.stories.tsx index 8e518aa..002b951 100644 --- a/src/components/templates/page/page-layout.stories.tsx +++ b/src/components/templates/page/page-layout.stories.tsx @@ -16,6 +16,7 @@ export default { component: PageLayoutComponent, args: { allowComments: false, + breadcrumbSchema: [], }, argTypes: { allowComments: { @@ -40,6 +41,17 @@ export default { value: {}, }, }, + breadcrumbSchema: { + control: { + type: null, + }, + description: 'The JSON schema for breadcrumb items.', + type: { + name: 'object', + required: true, + value: {}, + }, + }, children: { control: { type: 'text', |
