Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user