change date-picker & add page login-verify & account & new user & payment

This commit is contained in:
Ehsan
2024-08-26 20:04:33 +03:30
parent 31ed32fc21
commit 7925493681
34 changed files with 564 additions and 60 deletions
@@ -0,0 +1,22 @@
import { useState } from "react";
import SuccessPay from "./SuccessPay";
import FailedPay from "./FailedPay";
import Paying from "./Paying";
function Payment() {
const [typePay, setTypePay] = useState('default');
return (
<>
{typePay === 'default' ?
<Paying setTypePay={setTypePay} /> :
typePay === 'success' ?
<SuccessPay /> :
<FailedPay />
}
</>
)
}
export default Payment