import React, { useState } from "react"; import { TextField, Button, Box, Typography, Paper, } from "@mui/material"; const TicketConfirmationPage = () => { // State for form fields const [ticketId, setTicketId] = useState(""); // Handle form submission const handleSubmit = (e) => { e.preventDefault(); if (ticketId) { console.log("Registered with:", { ticketId }); } else { alert("Please fill in all fields."); } }; return ( Ticket Confirmation Confirm Ticket
setTicketId(e.target.value)} required />
); }; export default TicketConfirmationPage;