import React from 'react';

interface SvgTextLogoProps {
  text: string;
  className?: string;
  textClassName?: string;
  dominantBaseline?: 'auto' | 'inherit' | 'middle' | 'hanging' | 'central' | 'alphabetic' | 'ideographic' | 'mathematical' | 'text-before-edge' | 'text-after-edge' | 'use-script' | 'no-change' | 'reset-size';
}

const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
  text,
  className = '',
  textClassName = '',
  dominantBaseline = 'middle',
}) => {
  return (
    <svg
      viewBox="0 0 200 200"
      className={className}
      xmlns="http://www.w3.org/2000/svg"
    >
      <text
        x="50%"
        y="50%"
        textAnchor="middle"
        dominantBaseline={dominantBaseline}
        className={textClassName}
      >
        {text}
      </text>
    </svg>
  );
};

export default SvgTextLogo;
