Skip to content

Commit

Permalink
feat: use h2 for callout heading
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed Dec 18, 2023
1 parent 5d14fb6 commit 3dd6275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Callout/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ const Callout = props => {
return (
// eslint-disable-next-line react/jsx-props-no-spreading, react/no-unknown-property
<blockquote {...attributes} className={`callout callout_${theme}`} theme={icon}>
<p className={`callout-heading${title ? '' : ' empty'}`}>
<h2 className={`callout-heading${title ? '' : ' empty'}`}>
<span className="callout-icon">{icon}</span>
{title}
</p>
</h2>
{content}
</blockquote>
);
Expand Down

0 comments on commit 3dd6275

Please sign in to comment.