@5minds/processcube_app_sdk
Version:
The SDK for ProcessCube Apps
16 lines (15 loc) • 681 B
TypeScript
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 {};