oak-general-business/es/components/mobile/upsert/web.pc.d.ts

21 lines
750 B
TypeScript

import React from 'react';
import { WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from '../../../oak-app-domain';
export default function render(props: WebComponentProps<EntityDict, 'mobile', true, {
mobiles?: EntityDict['mobile']['OpSchema'][];
allowRemove: boolean;
tokenMobileId?: string;
allowCreate: boolean;
onFinish: () => void;
isRoot: boolean;
creatingOne?: EntityDict['mobile']['OpSchema'];
verifyPassword: boolean;
}, {
createMobile: () => void;
cancelCreating: () => void;
confirmCreating: () => Promise<void>;
updateCreatingMobile: (mobile: string) => void;
checkNeedVerifyPassword: () => boolean;
addMobile: (mobile: string) => void;
}>): React.JSX.Element;