import TextCopyBlock from "@/components/TextCopyBlock"; import { Script } from "@/lib/types"; import { Info } from "lucide-react"; export default function Alerts({ item }: { item: Script }) { return ( <> {item?.notes?.length > 0 && item.notes.map((note: any, index: number) => (

{TextCopyBlock(note.text)}

))} ); }