oak-pay-business/es/components/withdrawAccount/list/web.d.ts

30 lines
985 B
TypeScript

import React from 'react';
import { EntityDict } from "../../../oak-app-domain";
import { RowWithActions, WebComponentProps } from "oak-frontend-base";
export default function render(props: WebComponentProps<EntityDict, 'withdrawAccount', false, {
withdrawAccounts?: (RowWithActions<EntityDict, 'withdrawAccount'> & {
label: string;
symbol: string;
allowUpdate?: boolean;
allowRemove?: boolean;
})[];
upsertId: string;
entity: string;
entityId: string;
isCreate?: boolean;
asPicker?: boolean;
allowCreate?: boolean;
selectedId?: string;
onCancel?: () => void;
}, {
setUpsertId: (id: string) => void;
doUpdate: () => Promise<void>;
resetAll: () => void;
updateAccount: (id: string) => void;
newAccount: () => void;
removeAccount: (id: string) => Promise<void>;
switchDefault: (id: string) => void;
pickOne: (id: string) => void;
confirmPick: () => void;
}>): React.JSX.Element;