import React from 'react';

interface SvgTextLogoProps {
  text: string;
  className?: string;
  textClassName?: string;
}

export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
  text,
  className = '',
  textClassName = '',
}) => {
  return (
    <svg
      viewBox="0 0 300 100"
      className={className}
      preserveAspectRatio="xMidYMid meet"
    >
      <text
        x="50%"
        y="50%"
        textAnchor="middle"
        dominantBaseline="middle"
        className={textClassName}
        fontSize="48"
        fontWeight="bold"
      >
        {text}
      </text>
    </svg>
  );
};

export default SvgTextLogo;