import { ReleaseNote } from "@/lib/release-notes"; import { ExclamationTriangleIcon } from "@radix-ui/react-icons"; import { CheckCheckIcon, StarIcon } from "lucide-react"; import { Button } from "./ui/button"; export default function ReleaseNote({ data }: { data: ReleaseNote }) { return (

Release notes for {data.version} 🎉

{data.date}

{data.extra && (

{data.extra}

)} {data.breakingChanges && ( <>

Breaking changes

The following changes may break existing functionality:

)} {data.features && ( <>

Features

The following features have been added:

)} {data.fixes && ( <>

Fixes

The following issues have been fixed:

)}
); }