mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-07 22:18:39 +00:00
22 lines
655 B
TypeScript
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>
|
|
)
|
|
}
|