25 lines
903 B
TypeScript
25 lines
903 B
TypeScript
import React from 'react';
|
|
import { WebComponentProps } from 'oak-frontend-base';
|
|
import { EntityDict } from '../../../oak-app-domain';
|
|
import { AccountPayConfig } from '../../../types/PayConfig';
|
|
import { PayChannel, PayChannels } from '../../../types/Pay';
|
|
export default function Render(props: WebComponentProps<EntityDict, 'order', false, {
|
|
accountId?: string;
|
|
accountAvailMax: number;
|
|
order: EntityDict['order']['OpSchema'];
|
|
activePay?: EntityDict['pay']['OpSchema'];
|
|
accountConfig?: AccountPayConfig;
|
|
payChannels?: PayChannels;
|
|
channel?: PayChannel;
|
|
accountPrice: number;
|
|
meta?: object;
|
|
useAccount: boolean;
|
|
rest: number;
|
|
legal: false;
|
|
}, {
|
|
setAccountPrice: (price: number) => void;
|
|
onPickChannel: (channel: PayChannel) => void;
|
|
onSetChannelMeta: (meta?: object) => void;
|
|
switchUseAccount: () => void;
|
|
}>): React.JSX.Element | null;
|