Merge version_1 into main #3
@@ -6,7 +6,7 @@ interface SvgTextLogoProps {
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
fill?: string;
|
||||
dominantBaseline?: SVGTextElement['dominantBaseline'];
|
||||
dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
|
||||
}
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
@@ -30,7 +30,7 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
fontFamily={fontFamily}
|
||||
fill={fill}
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
dominantBaseline={dominantBaseline as any}
|
||||
>
|
||||
{text}
|
||||
</text>
|
||||
|
||||
Reference in New Issue
Block a user