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) => (e: any) => void; onReprocess: (transcriptId: string) => (e: any) => void; } export default function TranscriptActionsMenu({ transcriptId, onDelete, onReprocess, }: TranscriptActionsMenuProps) { return ( onReprocess(transcriptId)(e)} > Reprocess onDelete(transcriptId)(e)}> Delete ); }