Merge version_1 into main #3
@@ -1,6 +1,6 @@
|
||||
import React, { SVGProps } from 'react';
|
||||
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
interface SvgTextLogoProps extends Omit<SVGProps<SVGSVGElement>, 'dominantBaseline'> {
|
||||
text: string;
|
||||
className?: string;
|
||||
fontSize?: number;
|
||||
@@ -28,7 +28,7 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
x="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
dominantBaseline={dominantBaseline as 'auto' | 'inherit' | 'alphabetic' | 'hanging' | 'ideographic' | 'mathematical' | 'text-before-edge' | 'middle' | 'central' | 'text-after-edge' | 'use-script' | 'no-change' | 'reset-size'}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
|
||||
Reference in New Issue
Block a user