'use client'; import { ArrowUpRight, X } from 'lucide-react'; import * as Button from '@/components/ui/button'; import * as LinkButton from '@/components/ui/link-button'; import { cn } from '@/utils/cn'; import { tv, type VariantProps } from '@/utils/tv'; const announcementVariants = tv({ base: 'relative flex h-10 w-full items-center justify-center gap-2 px-4 py-2.5', variants: { variant: { stroke: 'border-stroke-soft-200 bg-bg-white-0 border-b', lighter: 'bg-bg-weak-25', filled: 'bg-primary-base', }, }, defaultVariants: { variant: 'lighter', }, }); type AnnouncementVariants = VariantProps; type Announcement05Props = AnnouncementVariants & { className?: string; text?: string; }; export default function LearnMoreMutedAnnouncement({ variant = 'lighter', className, text = 'Use this space to share key info or link to a feature', }: Announcement05Props) { const isFilled = variant === 'filled'; return (
{text}
Learn more
Learn
); }