oak-general-business/template/pages/frontend/my/password/verify/web.tsx

13 lines
466 B
TypeScript

import React from 'react';
import PwdVerify from 'oak-general-business/es/components/user/password/verify';
import { WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from '@project/oak-app-domain';
export default function Render(props: WebComponentProps<EntityDict, 'user', false, {
path: string;
onVerified: () => void;
}>) {
const { path, onVerified } = props.data;
return <PwdVerify oakPath={path} onVerified={onVerified} />
}