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

25 lines
859 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;
}>): React.JSX.Element | null;