lml-main
Version:
This is now a mono repository published into many standalone packages.
12 lines (11 loc) • 548 B
TypeScript
import * as React from 'react';
import { CourierModel, AllocationType } from '@lml/cosmo-ts-data';
import { StylableComponentProps } from 'cosmoui';
export interface CourierAllocationProps extends StylableComponentProps {
canAllocate: boolean;
courier: CourierModel;
}
export interface CourierAllocationComponentProps extends CourierAllocationProps {
allocate: (allocationType: AllocationType, jobRefId?: string, courierRefId?: string) => any;
}
export declare const CourierAllocationIcon: React.ComponentClass<CourierAllocationProps>;