Merge version_1 into main #2

Merged
bender merged 1 commits from version_1 into main 2026-03-12 23:59:59 +00:00

View File

@@ -1,10 +1,10 @@
import React, { SVGProps } from "react";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
interface SvgTextLogoProps extends Omit<SVGProps<SVGSVGElement>, '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<SVGSVGElement, SvgTextLogoProps>(
@@ -21,7 +21,7 @@ const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
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}