Move the breadcrumb on the HeaderPage

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-07-31 16:46:20 +01:00
parent 484e500f49
commit 230b410ff9
19 changed files with 357 additions and 308 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -65,6 +65,24 @@ export const propDefs: Record<string, PropDef> = {
},
},
},
breadcrumbs: {
type: 'complex',
complexType: {
name: 'Breadcrumb[]',
properties: {
label: {
type: 'string',
required: true,
description: 'Display text for the breadcrumb',
},
href: {
type: 'string',
required: true,
description: 'URL for the breadcrumb link',
},
},
},
},
...childrenPropDefs,
...classNamePropDefs,
...stylePropDefs,
@@ -18,24 +18,6 @@ export const propDefs: Record<string, PropDef> = {
type: 'string',
default: '/',
},
breadcrumbs: {
type: 'complex',
complexType: {
name: 'Breadcrumb[]',
properties: {
label: {
type: 'string',
required: true,
description: 'Display text for the breadcrumb',
},
href: {
type: 'string',
required: true,
description: 'URL for the breadcrumb link',
},
},
},
},
customActions: {
type: 'enum',
values: ['ReactNode'],