diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index b6136e5..87e8052 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,10 +1,10 @@ import React, { SVGProps } from "react"; -interface SvgTextLogoProps extends SVGProps { +interface SvgTextLogoProps extends Omit, 'dominantBaseline'> { text: string; className?: string; textClassName?: string; - dominantBaseline?: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "mathematical" | "hanging"; + dominantBaseline?: "auto" | "alphabetic" | "hanging" | "ideographic" | "middle" | "central" | "mathematical" | "text-before-edge" | "text-after-edge"; } const SvgTextLogo = React.forwardRef( @@ -21,7 +21,7 @@ const SvgTextLogo = React.forwardRef( 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"} className={`text-2xl font-bold fill-foreground ${textClassName}`} > {text}