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 ReleaseNoteElement({ data }: { data: ReleaseNote }) { return (

Release notes for {data.version} 🎉

{data.date}

If you encounter any issues, please report them on the issues page. Thanks everyone for your feedback! ❤️

{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:

)}
); }