27 lines
796 B
TypeScript
27 lines
796 B
TypeScript
import React from 'react';
|
|
import { WebComponentProps } from 'oak-frontend-base';
|
|
import { EntityDict } from '../../../oak-app-domain';
|
|
export default function Render(props: WebComponentProps<EntityDict, 'pay', false, {
|
|
fromEntityId?: string;
|
|
toEntityId?: string;
|
|
price: number;
|
|
max?: number;
|
|
externalId: string;
|
|
remark: string;
|
|
accounts: Array<{
|
|
id: string;
|
|
entity: string;
|
|
price: number;
|
|
priceStr: string;
|
|
label: string;
|
|
name?: string;
|
|
}>;
|
|
}, {
|
|
setFromId: (id: string) => void;
|
|
setToId: (id: string) => void;
|
|
setPrice: (price: number) => void;
|
|
setExternalId: (externalId: string) => void;
|
|
setRemark: (remark: string) => void;
|
|
createMove: () => Promise<void>;
|
|
}>): React.JSX.Element | null;
|