import React from "react"; import { IconButton, Icon, Menu } from "@chakra-ui/react"; import { LuMenu, LuTrash, LuRotateCw } from "react-icons/lu"; interface TranscriptActionsMenuProps { transcriptId: string; onDelete: (transcriptId: string) => void; onReprocess: (transcriptId: string) => void; } export default function TranscriptActionsMenu({ transcriptId, onDelete, onReprocess, }: TranscriptActionsMenuProps) { return ( onReprocess(transcriptId)} > Reprocess { e.stopPropagation(); onDelete(transcriptId); }} > Delete ); }