Skip to content

Commit

Permalink
fix(CreateFullPage): breadcrumbs should be array (#6058)
Browse files Browse the repository at this point in the history
Fixes #5707.
  • Loading branch information
wkeese committed Sep 23, 2024
1 parent 2b32f0f commit f076047
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const StepsContext = createContext<StepsContextType | null>(null);
// to let it know what number it is in the sequence of steps
export const StepNumberContext = createContext(-1);

interface HeaderBreadcrumbs {
interface HeaderBreadcrumb {
/** breadcrumb item key */
key: string;
/** breadcrumb item label */
Expand All @@ -85,7 +85,7 @@ type CreateFullPageBreadcrumbsProps =
}
| {
/** The header breadcrumbs */
breadcrumbs: HeaderBreadcrumbs;
breadcrumbs: HeaderBreadcrumb[];

/**
* Label for open/close overflow button used for breadcrumb items that do not fit
Expand Down

0 comments on commit f076047

Please sign in to comment.