Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx

This commit is contained in:
2026-03-10 19:56:17 +00:00
parent 1c15963f87
commit 8b33e940ee

View File

@@ -6,7 +6,7 @@ interface SvgTextLogoProps {
fontSize?: number;
fontFamily?: string;
fill?: string;
dominantBaseline?: SVGTextElement['dominantBaseline'];
dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
}
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
@@ -30,7 +30,7 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
fontFamily={fontFamily}
fill={fill}
textAnchor="middle"
dominantBaseline={dominantBaseline}
dominantBaseline={dominantBaseline as any}
>
{text}
</text>