Files
shadcn-ui/apps/www/components/announcement.tsx
2024-07-06 02:06:40 +04:00

22 lines
655 B
TypeScript

import Link from "next/link"
import { ArrowRightIcon } from "@radix-ui/react-icons"
import { Blocks, PieChart } from "lucide-react"
import { Separator } from "@/registry/new-york/ui/separator"
export function Announcement() {
return (
<Link
href="/docs/components/chart"
className="group inline-flex items-center px-0.5 text-sm font-medium"
>
<PieChart className="h-4 w-4" />{" "}
<Separator className="mx-2 h-4" orientation="vertical" />{" "}
<span className="underline-offset-4 group-hover:underline">
Introducing Charts
</span>
<ArrowRightIcon className="ml-1 h-4 w-4" />
</Link>
)
}