18 lines
622 B
TypeScript
18 lines
622 B
TypeScript
import React from 'react';
|
|
import { WebComponentProps } from 'oak-frontend-base';
|
|
import { EntityDict } from '../../../oak-app-domain';
|
|
import { PayChannel, PayChannels } from '@project/types/Pay';
|
|
export default function render(props: WebComponentProps<EntityDict, 'deposit', false, {
|
|
depositMax: number;
|
|
price: number;
|
|
payChannels?: PayChannels;
|
|
channel?: PayChannel;
|
|
depositMin: number;
|
|
lossStr: string | undefined;
|
|
lossReason: string;
|
|
priceStr?: string;
|
|
}, {
|
|
onChooseChannel: (channel: PayChannel) => void;
|
|
onPriceChange: (price: number | null) => void;
|
|
}>): React.JSX.Element;
|