Merge version_1 into main #3

Merged
bender merged 1 commits from version_1 into main 2026-03-11 03:11:04 +00:00

View File

@@ -5,13 +5,14 @@ interface SvgTextLogoProps {
className?: string;
fontSize?: number;
fontWeight?: string | number;
dominantBaseline?: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "mathematical" | "hanging";
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 = "", fontSize = 48,
fontWeight = "bold", dominantBaseline = "middle"}) => {
fontWeight = "bold", dominantBaseline = "middle"
}) => {
return (
<svg
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.2}`}