File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export const FullExample: Story = {
57
57
title : 'Site Customization' ,
58
58
description : 'Make your site look exactly how you want it to' ,
59
59
decoration : < Icon icon = { wordpress } /> ,
60
- breadcrumb : (
60
+ breadcrumbs : (
61
61
< Breadcrumbs
62
62
items = { [
63
63
{ label : 'Dashboard' , href : 'javascript:void(0)' } ,
Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ export const PageHeader = ( {
36
36
description,
37
37
actions,
38
38
decoration,
39
- breadcrumb ,
39
+ breadcrumbs ,
40
40
} : PageHeaderProps ) => {
41
41
return (
42
42
< VStack spacing = { 2 } >
43
- { breadcrumb }
43
+ { breadcrumbs }
44
44
< HStack spacing = { 4 } justify = "flex-start" alignment = "flex-start" >
45
45
{ decoration && (
46
46
< span className = "client-dashboard-components-page-header__decoration" >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ describe( 'PageHeader', () => {
44
44
render (
45
45
< PageHeader
46
46
title = "Test Title"
47
- breadcrumb = {
47
+ breadcrumbs = {
48
48
< Breadcrumbs
49
49
items = { [
50
50
{ label : 'Home' , href : '/' } ,
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ export interface PageHeaderProps {
21
21
*/
22
22
decoration ?: React . ReactNode ;
23
23
/**
24
- * An optional breadcrumb component used to indicate the user's current position
24
+ * An optional breadcrumbs component used to indicate the user's current position
25
25
* in a complex navigational structure and allow quick access to parent levels.
26
26
*/
27
- breadcrumb ?: React . ReactNode [ ] ;
27
+ breadcrumbs ?: React . ReactNode ;
28
28
}
You can’t perform that action at this time.
0 commit comments