Merge version_1 into main #3
@@ -6,7 +6,7 @@ interface SvgTextLogoProps {
|
||||
fontSize?: number;
|
||||
fontWeight?: string;
|
||||
fill?: string;
|
||||
dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'central' | 'hanging' | 'mathematical' | 'ideographic';
|
||||
dominantBaseline?: 'auto' | 'alphabetic' | 'middle' | 'central' | 'hanging' | 'mathematical' | 'ideographic' | 'text-before-edge' | 'text-after-edge' | 'use-script' | 'no-change' | 'reset-size' | 'inherit';
|
||||
}
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
@@ -30,7 +30,7 @@ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
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'}
|
||||
>
|
||||
{text}
|
||||
</text>
|
||||
|
||||
Reference in New Issue
Block a user