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