react-mrtf
Version:
TICKET OCR LIB for REACT
29 lines (28 loc) • 678 B
TypeScript
export interface RCTPartsResult {
payment: string;
price: string;
address: string;
customer: string;
phone: string;
}
export type RTT_PAYMENT = "NAKIT" | "KREDI KARTI" | "ONLINE" | "YEMEK KARTI";
export interface RTTPartsResult {
payment: RTT_PAYMENT[];
price: string;
address: string;
customer: string;
phone: string;
}
export interface RCTProps {
onApp: (result: RCTPartsResult) => void;
onCancel?: () => void;
}
export interface RttProps {
multiPayment?: boolean;
item?: RTTPartsResult;
onApp: (result: RTTPartsResult) => void;
onCancel?: () => void;
}
export interface MRCCProps {
children: JSX.Element;
}