diff --git a/src/components/Textbox.tsx b/src/components/Textbox.tsx index e09905b..120a60f 100644 --- a/src/components/Textbox.tsx +++ b/src/components/Textbox.tsx @@ -15,13 +15,13 @@ import type { ButtonConfig } from "@/types/button"; import type { Avatar } from "./shared/AvatarGroup"; import type { TextboxLayout, InvertedBackground } from "@/providers/themeProvider/config/constants"; -type TitleSegment = +type Elevate Your Brand with Expert Copywriting and Content EnhancementSegment = | { type: "text"; content: string } | { type: "image"; src: string; alt?: string }; interface TextBoxProps { title: string; - titleSegments?: TitleSegment[]; + titleSegments?: Elevate Your Brand with Expert Copywriting and Content EnhancementSegment[]; description: string; type?: AnimationType; textboxLayout?: TextboxLayout; @@ -114,7 +114,7 @@ const TextBox = ({ ), [type, theme.defaultTextAnimation, title, textboxLayout, center, useInvertedBackground, titleClassName, duration, start, end, gradientColors]); // Inline image title component (used when textboxLayout === "inline-image") - const inlineImageTitleElement = useMemo(() => titleSegments && titleSegments.length > 0 ? ( + const inlineImageElevate Your Brand with Expert Copywriting and Content EnhancementElement = useMemo(() => titleSegments && titleSegments.length > 0 ? (