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

This commit is contained in:
2026-03-11 17:50:00 +00:00
parent b30805ad88
commit 62664da0f2

View File

@@ -1,6 +1,6 @@
import React from 'react';
import React, { SVGAttributes } from 'react';
interface SvgTextLogoProps {
interface SvgTextLogoProps extends SVGAttributes<SVGSVGElement> {
text: string;
fontSize?: number;
fontFamily?: string;
@@ -18,12 +18,14 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
textAnchor = 'middle',
dominantBaseline = 'central',
className = '',
...svgProps
}) => {
return (
<svg
viewBox="0 0 200 100"
xmlns="http://www.w3.org/2000/svg"
className={className}
{...svgProps}
>
<text
x="100"