import { ChevronRightIcon } from 'lucide-react' import Link from 'next/link' import React, { ReactNode } from 'react' import { Badge, cn } from 'ui' interface Props { url: string announcement: string | ReactNode /* Text or node to display on mobile */ announcementMobile?: string | ReactNode badge?: string | ReactNode target?: '_self' | '_blank' | string className?: string hasArrow?: boolean style?: React.CSSProperties } const AnnouncementBadge = ({ url, announcement, announcementMobile, badge, target = '_self', className, hasArrow = true, style, }: Props) => (