Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit 910ea82

Browse files
committed
fix(StampCard): dont use Header.H4 shorthand component
1 parent dc9cb24 commit 910ea82

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/StampCard/StampCard.react.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ function StampCard({
2727
<div className="d-flex align-items-center">
2828
<Stamp color={color} icon={icon} className="mr-3" />
2929
<div>
30-
{header && <Header.H4 className="m-0">{header}</Header.H4>}
30+
{header && (
31+
<Header size={4} className="m-0">
32+
{header}
33+
</Header>
34+
)}
3135
{children}
3236
{footer && <Text.Small muted>{footer}</Text.Small>}
3337
</div>

0 commit comments

Comments
 (0)