lml-main
Version:
This is now a mono repository published into many standalone packages.
19 lines (18 loc) • 717 B
TypeScript
import * as React from 'react';
import { ModalRootComponentProps } from 'cosmoui';
import { JobModel, JobIncidentCode } from '@lml/cosmo-ts-data';
export interface JobCancelModalProps extends ModalRootComponentProps {
currentModal: {
modalProps: {
refId: string;
job: JobModel;
};
modalType: string;
};
}
export interface JobCancelModalComponentProps extends JobCancelModalProps {
job: JobModel | null;
deleteJob: (refId: string, args?: any) => any;
submitJobIncidentForm: (jobRefId: string, impact: JobIncidentCode, reason: JobIncidentCode, comment: string) => any;
}
export declare const JobCancelModal: React.ComponentClass<JobCancelModalProps>;