Skip to content

Commit c4fa1dd

Browse files
authored
Add missing displayName to PageHeader.TitleArea
1 parent 2536b49 commit c4fa1dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react/src/PageHeader/PageHeader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ const TitleArea = React.forwardRef<HTMLDivElement, React.PropsWithChildren<Title
337337
)
338338
},
339339
) as PolymorphicForwardRefComponent<'div', TitleAreaProps>
340+
TitleArea.displayName = 'TitleArea'
340341

341342
// PageHeader.LeadingAction and PageHeader.TrailingAction should only be visible on regular viewports.
342343
// So they come as hidden on narrow viewports by default and their visibility can be managed by their `hidden` prop.

0 commit comments

Comments
 (0)