From cad03b63198e22145b3b28b34ce1b1ad6a832f26 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 03:51:20 +0000 Subject: [PATCH] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- src/components/shared/SvgTextLogo/SvgTextLogo.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index fb13e43..d5c2427 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -4,7 +4,7 @@ interface SvgTextLogoProps { text: string; className?: string; fontSize?: number; - dominantBaseline?: SVGTextElement['dominantBaseline']; + dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'; textAnchor?: 'start' | 'middle' | 'end'; fill?: string; fontWeight?: number | string; @@ -34,7 +34,7 @@ const SvgTextLogo: React.FC = ({ fontSize={fontSize} fontWeight={fontWeight} fontFamily={fontFamily} - dominantBaseline={dominantBaseline} + dominantBaseline={dominantBaseline as any} textAnchor={textAnchor} fill={fill} > -- 2.49.1