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

This commit is contained in:
2026-03-11 16:13:34 +00:00
parent 8a60035bc2
commit c1f410ad94

View File

@@ -9,14 +9,14 @@ interface SvgTextLogoProps {
fontSize?: number;
fontFamily?: string;
textAnchor?: "start" | "middle" | "end";
dominantBaseline?: "auto" | "baseline" | "text-bottom" | "alphabetic" | "ideographic" | "mathematical" | "central" | "hanging" | "text-top";
dominantBaseline?: "auto" | "inherit" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "text-before-edge" | "middle" | "central" | "text-after-edge" | "use-script" | "no-change" | "reset-size";
}
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = "", svgClassName = "", textClassName = "", strokeWidth = 1,
fontSize = 48,
fontFamily = "Arial, sans-serif", textAnchor = "middle", dominantBaseline = "central"}) => {
fontFamily = "Arial, sans-serif", textAnchor = "middle", dominantBaseline = "middle"}) => {
return (
<div className={className}>
<svg