diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index 696ca9e..60425b3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,12 +1,13 @@ import React from 'react'; +import type { SVGProps } from 'react'; -interface SvgTextLogoProps { +interface SvgTextLogoProps extends SVGProps { text: string; className?: string; fontSize?: number; fontWeight?: number | string; letterSpacing?: number; - dominantBaseline?: SVGTextElementAttributes['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 = ({