import React, { SVGProps } from "react"; interface SvgTextLogoProps extends SVGProps { text: string; fontSize?: number; fontWeight?: number | string; letterSpacing?: number; } const SvgTextLogo = React.forwardRef( ( { text, fontSize = 48, fontWeight = 700, letterSpacing = 0, className, ...props }, ref ) => { const textLength = text.length; const charWidth = fontSize * 0.6; const width = textLength * charWidth + 40; const height = fontSize + 20; return ( {text} ); } ); SvgTextLogo.displayName = "SvgTextLogo"; export default SvgTextLogo;