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