UNPKG

@5minds/processcube_app_sdk

Version:
16 lines (15 loc) 680 B
import { BpmnType } from '@5minds/processcube_engine_sdk'; type PlayButtonProps = { flowNodeId: string; flowNodeInstanceId: string; flowNodeType: BpmnType.userTask | BpmnType.manualTask | BpmnType.untypedTask; processInstanceId: string; onPlay?: (taskContext: { processInstanceId: string; flowNodeInstanceId: string; flowNodeId: string; taskType: BpmnType.userTask | BpmnType.manualTask | BpmnType.untypedTask; }) => void | Promise<void>; }; export declare function PlayButton({ flowNodeId, flowNodeInstanceId, flowNodeType, processInstanceId, onPlay }: PlayButtonProps): import("react/jsx-runtime").JSX.Element; export {};