import classNames from 'classnames' import React, { useState } from 'react' import ModalCommon from '../ModalCommon/ModalCommon' import FormLogin from './components/FormLogin/FormLogin' import FormRegister from './components/FormRegister/FormRegister' import s from './ModalAuthenticate.module.scss' interface Props { visible: boolean, closeModal: () => void, } const ModalAuthenticate = ({ visible, closeModal }: Props) => { const [isLogin, setIsLogin] = useState(true) const onSwitch = () => { setIsLogin(!isLogin) } return (
) } export default ModalAuthenticate