lml-main
Version:
This is now a mono repository published into many standalone packages.
24 lines (23 loc) • 861 B
TypeScript
import * as React from 'react';
import { CourierModel } from '@lml/cosmo-ts-data';
export interface CourierDetailsProps {
refId: string;
}
export interface CourierDetailsComponentProps extends CourierDetailsProps {
courier: CourierModel;
earnings: string;
avatarPath: string;
showCourierChangeFrequencyModal: (courier: CourierModel) => any;
}
export declare class CourierDetailsComponent extends React.Component<CourierDetailsComponentProps, {}> {
render(): JSX.Element;
private renderHeader;
private renderInfo;
private showCourierChangeFrequencyModal;
private renderCourierDetails();
private renderCourierVehicle();
private renderCourierEarnings;
private renderCourierAttributes();
private renderCourierStreets(courier);
}
export declare const CourierDetails: React.ComponentClass<CourierDetailsProps>;