lml-main
Version:
This is now a mono repository published into many standalone packages.
16 lines (15 loc) • 656 B
TypeScript
import * as React from 'react';
import { JobModel, JobStatusModel } from '@lml/cosmo-ts-data';
export interface JobActionButtonsProps {
job: JobModel;
}
export interface JobActionButtonsComponentProps extends JobActionButtonsProps {
jobStatus: JobStatusModel;
showCloneJobModal: (refId: string) => any;
showEditJobModal: (refId: string) => any;
showCancelJobModal: (refId: string) => any;
showDeallocationModal: (job: JobModel) => any;
showCourierActionModal: (jobRefId: string) => any;
showReturnToDepotModal: (jobRefId: string) => any;
}
export declare const JobActionButtons: React.ComponentClass<JobActionButtonsProps>;