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

{TextCopyBlock(alert.content)}

))} ); }