From 84b83fa97247e9582392468008e30e35fda47b81 Mon Sep 17 00:00:00 2001 From: Timeless0911 <50201324+Timeless0911@users.noreply.github.com> Date: Fri, 6 Sep 2024 11:32:09 +0800 Subject: [PATCH] feat: support render html in feature icon (#1395) --- packages/theme-default/src/components/HomeFeature/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/theme-default/src/components/HomeFeature/index.tsx b/packages/theme-default/src/components/HomeFeature/index.tsx index 52f314e28..20dd1ffc1 100644 --- a/packages/theme-default/src/components/HomeFeature/index.tsx +++ b/packages/theme-default/src/components/HomeFeature/index.tsx @@ -56,7 +56,7 @@ export function HomeFeature({ {icon ? (
- {icon} + {renderHtmlOrText(icon)}
) : null}