17 lines
726 B
TypeScript
17 lines
726 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, {
|
|
withdrawAccount?: RowWithActions<EntityDict, 'withdrawAccount'>;
|
|
channels?: {
|
|
label: string;
|
|
value: string;
|
|
}[];
|
|
channel?: EntityDict['withdrawChannel']['Schema'];
|
|
isBank?: boolean;
|
|
isOffline?: boolean;
|
|
}, {
|
|
onSetChannelId: (id: string) => void;
|
|
onUpdate: <T extends keyof EntityDict['withdrawAccount']['OpSchema']>(attr: T, value: EntityDict['withdrawAccount']['OpSchema'][T] | null) => void;
|
|
}>): React.JSX.Element | undefined;
|