oak-pay-business/es/components/account/deposit/web.d.ts

20 lines
683 B
TypeScript

import React from 'react';
import { WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from '../../../oak-app-domain';
import { AccountPayConfig, PayConfig } from '../../../types/PayConfig';
export default function Render(props: WebComponentProps<EntityDict, 'account', false, {
depositMax: number;
payConfig: PayConfig;
accountConfig?: AccountPayConfig;
onSetChannel: (channel: string) => void;
onSetMeta: (meta: any) => void;
price: number;
priceStr: string | undefined;
channel: string;
meta: any;
depositMin: number;
tips: string;
}, {
onPriceChange: (price: null | number) => void;
}>): React.JSX.Element | null;