Merge version_1 into main #3
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user