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

This commit is contained in:
2026-03-12 01:34:46 +00:00
parent 22135995ff
commit 99e31fdaa7

View File

@@ -3,7 +3,7 @@ import React from 'react';
interface SvgTextLogoProps {
text: string;
className?: string;
dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
dominantBaseline?: 'auto' | 'text-before-edge' | 'middle' | 'central' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | 'use-script' | 'no-change' | 'reset-size';
}
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
@@ -30,7 +30,7 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
<text
x="50%"
y="50%"
dominantBaseline={dominantBaseline === 'text-before-edge' ? 'middle' : dominantBaseline}
dominantBaseline={dominantBaseline === 'baseline' ? 'middle' : dominantBaseline}
textAnchor="middle"
className="logo-text inherit"
>