reset and confirm modals
This commit is contained in:
@ -4,7 +4,7 @@ import authImg from "assets/images/partnerProfile/authCandidateFormImg.png";
|
||||
|
||||
import "./authBlock.scss";
|
||||
|
||||
export const AuthBlock = ({ title, description, img }) => {
|
||||
export const AuthBlock = ({ title, description, img, resetModal }) => {
|
||||
return (
|
||||
<div className="auth__wrapper">
|
||||
<div className="auth__info">
|
||||
@ -31,7 +31,7 @@ export const AuthBlock = ({ title, description, img }) => {
|
||||
>
|
||||
Войти
|
||||
</button>
|
||||
<span>Вспомнить пароль</span>
|
||||
<span onClick={() => resetModal(true)}>Вспомнить пароль</span>
|
||||
</div>
|
||||
</form>
|
||||
{img && <img src={img} alt="authImg" className="auth__img" />}
|
||||
|
@ -103,7 +103,7 @@
|
||||
|
||||
&__img {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
right: 48px;
|
||||
top: -90px;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user