diff --git a/packages/react/src/PageHeader/PageHeader.tsx b/packages/react/src/PageHeader/PageHeader.tsx index b8722cc45d6..2ac5370b0d1 100644 --- a/packages/react/src/PageHeader/PageHeader.tsx +++ b/packages/react/src/PageHeader/PageHeader.tsx @@ -238,6 +238,7 @@ const ParentLink = React.forwardRef( ) }, ) as PolymorphicForwardRefComponent<'a', ParentLinkProps> +ParentLink.displayName = 'ParentLink' // ContextBar // Generic slot for any component above the title region. Use it for custom breadcrumbs and other navigation elements instead of ParentLink. @@ -337,6 +338,7 @@ const TitleArea = React.forwardRef +TitleArea.displayName = 'TitleArea' // PageHeader.LeadingAction and PageHeader.TrailingAction should only be visible on regular viewports. // So they come as hidden on narrow viewports by default and their visibility can be managed by their `hidden` prop.