diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index 8271d90..900e652 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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 = ({ @@ -30,7 +30,7 @@ const SvgTextLogo: React.FC = ({ 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}