34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import React from 'react';
|
|
import { EntityDict } from "../../../oak-app-domain";
|
|
import { WebComponentProps } from "oak-frontend-base";
|
|
export default function render(props: WebComponentProps<EntityDict, 'withdraw', false, {
|
|
account: EntityDict['account']['OpSchema'];
|
|
value: number;
|
|
valueYuan: number;
|
|
refundAmount: number;
|
|
manualAmount: number;
|
|
refundAmountYuan: number;
|
|
manualAmountYuan: number;
|
|
avail: number;
|
|
availYuan: number;
|
|
showMethodHelp: boolean;
|
|
showLossHelp: boolean;
|
|
executale: boolean;
|
|
withdrawCreate: EntityDict['withdraw']['Schema'];
|
|
withdrawable?: boolean;
|
|
withdrawLossText?: string;
|
|
chooseWa?: boolean;
|
|
waFilter?: EntityDict['withdrawAccount']['Selection']['filter'];
|
|
userId: string;
|
|
onGoToHistory: () => void;
|
|
onGoToWaManage: () => void;
|
|
}, {
|
|
setValue: (v: number | null) => void;
|
|
switchHelp: (type: 'method' | 'loss') => void;
|
|
createWithdrawData: () => void;
|
|
restartAll: () => void;
|
|
createWithdraw: () => void;
|
|
goBack: () => void;
|
|
pickWithdrawChannel: (id: string) => void;
|
|
}>): React.JSX.Element | undefined;
|