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

Commit

Permalink
fix(StampCard): dont use Header.H4 shorthand component
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthomp committed Jun 2, 2018
1 parent dc9cb24 commit 910ea82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/StampCard/StampCard.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ function StampCard({
<div className="d-flex align-items-center">
<Stamp color={color} icon={icon} className="mr-3" />
<div>
{header && <Header.H4 className="m-0">{header}</Header.H4>}
{header && (
<Header size={4} className="m-0">
{header}
</Header>
)}
{children}
{footer && <Text.Small muted>{footer}</Text.Small>}
</div>
Expand Down

0 comments on commit 910ea82

Please sign in to comment.