oak-pay-business/es/components/pay/detail/web.d.ts

30 lines
997 B
TypeScript

import React from 'react';
import { RowWithActions, WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from '../../../oak-app-domain';
type ColoredOffline = EntityDict['offlineAccount']['OpSchema'] & {
color: string;
};
export declare function RenderOffline(props: {
pay: RowWithActions<EntityDict, 'pay'>;
t: (key: string) => string;
offlines: ColoredOffline[];
offline: ColoredOffline;
updateOfflineId: (entityId: string) => void;
updateExternalId: (externalId: string) => void;
}): React.JSX.Element;
export default function Render(props: WebComponentProps<EntityDict, 'pay', false, {
pay?: RowWithActions<EntityDict, 'pay'>;
iStateColor?: string;
onClose: () => undefined;
closable: boolean;
startPayable: boolean;
notSameApp?: boolean;
type: string;
offlines?: ColoredOffline[];
offline?: ColoredOffline;
}, {
goBack: () => void;
startPay: () => Promise<void>;
}>): React.JSX.Element | null;
export {};