import React from 'react';

interface SvgTextLogoProps {
  text: string;
  className?: string;
  dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'baseline';
}

export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
  text,
  className = '',
  dominantBaseline = 'middle'
}) => {
  return (
    <svg
      viewBox="0 0 1000 200"
      className={className}
      xmlns="http://www.w3.org/2000/svg"
    >
      <text
        x="50%"
        y="50%"
        textAnchor="middle"
        dominantBaseline={dominantBaseline}
        className="font-bold text-4xl"
        fill="currentColor"
      >
        {text}
      </text>
    </svg>
  );
};

export default SvgTextLogo;
