pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
12 lines (11 loc) • 561 B
TypeScript
import { type PostDataProps } from './hooks/useChangeUserPassword';
export interface ChangePasswordPageProps {
backHome?: string;
submitButtonText?: string;
onSuccess: () => void;
onError: (error: Error) => void;
handleUpdatePassword: (data: PostDataProps) => Promise<void>;
onClickBackHome: () => void;
}
declare const ChangePasswordPage: ({ backHome, submitButtonText, onSuccess, onError, handleUpdatePassword, onClickBackHome, }: ChangePasswordPageProps) => import("react/jsx-runtime").JSX.Element;
export default ChangePasswordPage;