26 lines
894 B
TypeScript
26 lines
894 B
TypeScript
import React from 'react';
|
|
import { RowWithActions, WebComponentProps } from 'oak-frontend-base';
|
|
import { EntityDict } from '../../../oak-app-domain';
|
|
import { OfflinePayConfig, PayConfig } from '../../../types/PayConfig';
|
|
export declare function RenderOffline(props: {
|
|
pay: RowWithActions<EntityDict, 'pay'>;
|
|
t: (key: string) => string;
|
|
offline: OfflinePayConfig;
|
|
updateMeta: (meta: any) => void;
|
|
metaUpdatable: boolean;
|
|
}): React.JSX.Element;
|
|
export default function Render(props: WebComponentProps<EntityDict, 'pay', false, {
|
|
pay: RowWithActions<EntityDict, 'pay'>;
|
|
iStateColor?: string;
|
|
payConfig?: PayConfig;
|
|
onClose: () => undefined;
|
|
closable: boolean;
|
|
startPayable: boolean;
|
|
metaUpdatable: boolean;
|
|
notSameApp?: boolean;
|
|
type: string;
|
|
}, {
|
|
goBack: () => void;
|
|
startPay: () => Promise<void>;
|
|
}>): React.JSX.Element | null;
|