lml-main
Version:
This is now a mono repository published into many standalone packages.
21 lines (20 loc) • 733 B
TypeScript
import * as React from 'react';
import { JobModel, JobStatusModel } from '@lml/cosmo-ts-data';
export interface CourierJobProps {
courierRefId: string;
jobByStatus: JobStatusModel;
}
export interface CourierJobComponentProps extends CourierJobProps {
job: JobModel;
showJobDetails: (refId: string) => any;
showDeallocationModal: (job: JobModel) => any;
}
export declare class CourierJobComponent extends React.Component<CourierJobComponentProps, {}> {
render(): JSX.Element;
renderDeallocateButton: () => JSX.Element;
private collectText;
private addressText;
private showDeallocationModal;
private showJobDetails;
}
export declare const CourierJob: React.ComponentClass<CourierJobProps>;