diff --git a/src/Components/Modals/PaymentModal.js b/src/Components/Modals/PaymentModal.js new file mode 100644 index 0000000..c86c2a6 --- /dev/null +++ b/src/Components/Modals/PaymentModal.js @@ -0,0 +1,51 @@ +import { useState } from "react"; +import Button from "../../pageElements/Button"; +import Modal from "react-bootstrap/Modal"; +import TextInput from "../../pageElements/TextInput"; +import { db } from "../../firebase"; + +const PaymentModal = ({ + onCancel, + onConfirm, + buttonLabelText, + modalText, + isBusy, + setCardNumber, +}) => { + return ( + + + Enter Payment Card Information + + + {modalText} +
+ setCardNumber(e.target.value)} + label={"Card Number"} + /> +
+
+ +