oak-general-business/es/components/changePassword/byPassword/web.d.ts

15 lines
491 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, {
user: EntityDict['user']['Schema'];
failTimes: number;
pwdMin: number;
pwdMax: number;
needVerify: boolean;
regexs: string[];
tip: string;
}, {
onConfirm: (prevPassword: string, password: string) => Promise<void>;
}>): React.JSX.Element;