oak-general-business/es/components/user/info/web.pc.d.ts

32 lines
897 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, 'user', false, {
nickname: string;
name: string;
birth: string;
gender: string;
mobile: string;
showBack: boolean;
genderOptions: Array<{
label: string;
value: string;
}>;
wechatUser: EntityDict['wechatUser']['Schema'];
counter: number;
isRoot: boolean;
userStateStr: string;
userStateColor: string;
idStateStr: string;
idStateColor: string;
isCreation: boolean;
editable: boolean;
}, {
editMobile: () => void;
sendCaptcha: () => void;
editPassword: () => void;
goAuthenticate: () => void;
updateMyInfo: () => void;
unbindingWechat: (captcha?: string) => void;
}>): React.JSX.Element;