lml-main
Version:
This is now a mono repository published into many standalone packages.
20 lines (19 loc) • 763 B
TypeScript
import * as React from 'react';
import { AllocationType } from '@lml/cosmo-ts-data';
import { AllocationModalProps } from '../../../allocation/components';
import { ModalRootComponentProps } from 'cosmoui';
export interface AllocationModalProps extends ModalRootComponentProps {
currentModal: {
modalProps: {
jobRefId: string;
};
modalType: string;
};
}
export interface AllocationModalComponentProps extends AllocationModalProps {
callsign: string;
selectedCourierId: string;
validateCourier: (callsign: string) => string[];
allocate: (allocationType: AllocationType, jobRefId?: string, courierRefId?: string) => any;
}
export declare const AllocationModal: React.ComponentClass<AllocationModalProps>;