diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index 9da8858..1481227 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,6 +1,6 @@ import React, { SVGProps } from 'react'; -interface SvgTextLogoProps extends SVGProps { +interface SvgTextLogoProps extends Omit, 'dominantBaseline'> { text: string; className?: string; fontSize?: number; @@ -28,7 +28,7 @@ const SvgTextLogo: React.FC = ({ 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}