import React from 'react';

interface SvgTextLogoProps {
  text: string;
  fontSize?: number;
  fontFamily?: string;
  fontWeight?: string | number;
  fill?: string;
  className?: string;
}

const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
  text,
  fontSize = 48,
  fontFamily = 'system-ui, -apple-system, sans-serif',
  fontWeight = 700,
  fill = 'currentColor',
  className = '',
}) => {
  return (
    <svg
      viewBox="0 0 1000 200"
      preserveAspectRatio="xMidYMid meet"
      className={className}
    >
      <text
        x="50%"
        y="50%"
        fontSize={fontSize}
        fontFamily={fontFamily}
        fontWeight={fontWeight}
        fill={fill}
        textAnchor="middle"
        dominantBaseline="central"
      >
        {text}
      </text>
    </svg>
  );
};

export default SvgTextLogo;