Skip to content

Commit

Permalink
[Page] Update titleMetadata documentation (#11081)
Browse files Browse the repository at this point in the history
`titleMetadata` is currently being used in orders for the location
picker. It's sometimes useful to have interactive content here
  • Loading branch information
kyledurand authored Nov 1, 2023
1 parent 9c0433c commit c0be502
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/six-yaks-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Updated Page titleMetadata documentation
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface TitleProps {
title?: string;
/** Page subtitle, in regular type */
subtitle?: string;
/** Important and non-interactive status information shown immediately after the title. */
/** Important status information shown immediately after the title. */
titleMetadata?: React.ReactNode;
/** Removes spacing between title and subtitle */
compactTitle?: boolean;
Expand Down

0 comments on commit c0be502

Please sign in to comment.