22 lines
812 B
TypeScript
22 lines
812 B
TypeScript
import React from 'react';
|
|
import { EntityDict } from "../../../oak-app-domain";
|
|
import { RowWithActions, WebComponentProps } from "oak-frontend-base";
|
|
import { OakException } from 'oak-domain/lib/types';
|
|
export declare function OfflineAccount(props: {
|
|
data: RowWithActions<EntityDict, 'offlineAccount'> & {
|
|
color: string;
|
|
};
|
|
t: (k: string, param?: any) => string;
|
|
onUpdate?: () => void;
|
|
onRemove?: () => void;
|
|
onQrCodeClick?: () => void;
|
|
}): React.JSX.Element;
|
|
export default function render(props: WebComponentProps<EntityDict, 'offlineAccount', true, {
|
|
accounts?: (RowWithActions<EntityDict, 'offlineAccount'> & {
|
|
color: string;
|
|
})[];
|
|
systemId: string;
|
|
canCreate?: boolean;
|
|
oakExecutable: boolean | OakException<EntityDict>;
|
|
}>): React.JSX.Element;
|