'use client'; import { X } from 'lucide-react'; import * as Badge from '@/components/ui/badge'; import * as Button from '@/components/ui/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 Announcement02Props = AnnouncementVariants & { className?: string; text?: string; }; export default function NewBadgeMutedAnnouncement({ variant = 'lighter', className, text = 'This is a text area for announcements or product updates.', }: Announcement02Props) { const isFilled = variant === 'filled'; return (
NEW
{text}
); }