reset and confirm modals

This commit is contained in:
2023-07-18 16:20:55 +03:00
parent e0b289c3fd
commit fa582a8bfc
4 changed files with 106 additions and 85 deletions

View File

@ -5,15 +5,20 @@ import close from "assets/icons/closeProjectPersons.svg";
import "./modalReset.scss";
export const ModalReset = ({ setModalReset }) => {
return (
<div className="modalReset">
<h3 className='modalReset__title'>Восстановление доступа</h3>
<div className='modalReset__input'>
<span>Укажите e-mail, для которого хотите восстановить пароль.</span>
<input placeholder='email'/>
</div>
<button className='modalReset__submit'>Восстановить</button>
<img onClick={() => setModalReset(false)} src={close} className='modalReset__close' alt='close' />
</div>
);
return (
<div className="modalReset">
<h3 className="modalReset__title">Восстановление доступа</h3>
<div className="modalReset__input">
<span>Укажите e-mail, для которого хотите восстановить пароль.</span>
<input placeholder="email" />
</div>
<button className="modalReset__submit">Восстановить</button>
<img
onClick={() => setModalReset(false)}
src={close}
className="modalReset__close"
alt="close"
/>
</div>
);
};