Skip to content

Commit

Permalink
feat: support render html in feature icon (#1395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 authored Sep 6, 2024
1 parent c3ffca1 commit 84b83fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function HomeFeature({
{icon ? (
<div className="flex-center">
<div className="rspress-home-feature-icon w-12 h-12 text-3xl text-center">
{icon}
{renderHtmlOrText(icon)}
</div>
</div>
) : null}
Expand Down

0 comments on commit 84b83fa

Please sign in to comment.