Merge version_1 into main #3
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import React, { SVGAttributes } from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
interface SvgTextLogoProps extends SVGAttributes<SVGSVGElement> {
|
||||
text: string;
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
@@ -18,12 +18,14 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
textAnchor = 'middle',
|
||||
dominantBaseline = 'central',
|
||||
className = '',
|
||||
...svgProps
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
viewBox="0 0 200 100"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
{...svgProps}
|
||||
>
|
||||
<text
|
||||
x="100"
|
||||
|
||||
Reference in New Issue
Block a user