Skip to content

Commit

Permalink
Add missing displayName to PageHeader.TitleArea
Browse files Browse the repository at this point in the history
  • Loading branch information
lumaxis committed Jul 12, 2024
1 parent 2536b49 commit c4fa1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ const TitleArea = React.forwardRef<HTMLDivElement, React.PropsWithChildren<Title
)
},
) as PolymorphicForwardRefComponent<'div', TitleAreaProps>
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.
Expand Down

0 comments on commit c4fa1dd

Please sign in to comment.