change date-picker & add page login-verify & account & new user & payment
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user