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

This commit is contained in:
2026-03-11 13:02:26 +00:00
parent 5b30355695
commit a263795df5

View File

@@ -4,11 +4,10 @@ interface SvgTextLogoProps {
text?: string;
className?: string;
textClassName?: string;
dominantBaseline?: SVGTextElement['dominantBaseline'];
}
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>((
{ text = 'Webild', className = 'w-24 h-auto', textClassName = 'text-2xl font-bold', dominantBaseline = 'middle' },
{ text = 'Webild', className = 'w-24 h-auto', textClassName = 'text-2xl font-bold' },
ref
) => {
return (
@@ -21,7 +20,7 @@ const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>((
<text
x="50%"
y="50%"
dominantBaseline={dominantBaseline}
dominantBaseline="middle"
textAnchor="middle"
className={textClassName}
fill="currentColor"