Skip to content

Commit f565840

Browse files
Fix auxiliaryText in ActionList/Header.tsx (#1549)
* FIx auxiliaryText in ActionList Header.tsx the auxiliaryText property are not displayed due to missing curly braces * Create quick-ducks-camp.md Co-authored-by: Siddharth Kshetrapal <[email protected]>
1 parent 60f7d7c commit f565840

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/quick-ducks-camp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/components": patch
3+
---
4+
5+
Fix `auxiliaryText` in ActionList Group header

src/ActionList/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function Header({
6868
return (
6969
<StyledHeader role="heading" variant={variant} {...props}>
7070
{title}
71-
{auxiliaryText && <span>auxiliaryText</span>}
71+
{auxiliaryText && <span>{auxiliaryText}</span>}
7272
</StyledHeader>
7373
)
7474
}

0 commit comments

Comments
 (0)