From aa8854adcb9449d2a961c5e4314a223f6e7bcc04 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Tue, 13 Feb 2024 20:38:17 -0600 Subject: Initial commit --- src/components/Rsvp.tsx | 106 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 src/components/Rsvp.tsx (limited to 'src/components/Rsvp.tsx') diff --git a/src/components/Rsvp.tsx b/src/components/Rsvp.tsx new file mode 100644 index 0000000..881bf09 --- /dev/null +++ b/src/components/Rsvp.tsx @@ -0,0 +1,106 @@ +import { useState } from 'react'; +import Button from '@mui/material/Button'; +import Paper from '@mui/material/Paper'; +import Grid from '@mui/material/Grid'; +import TextField from '@mui/material/TextField'; +import Typography from '@mui/material/Typography'; +import Radio from '@mui/material/Radio'; +import RadioGroup from '@mui/material/RadioGroup'; +import FormControlLabel from '@mui/material/FormControlLabel'; +import FormControl from '@mui/material/FormControl'; +import FormLabel from '@mui/material/FormLabel'; + +function Rsvp() { + const [guestList, setGuestList] = useState([]); + + const onAddBtnClick = event => { + setGuestList(guestList.concat( + + + + + + + Meal Preference + + } + label="Beef" + /> + } + label="Chicken" + /> + } + label="Fish" + /> + } + label="Vegetarian" + /> + + + + + )); + } + + return ( + + + + Date: April 14, 2025 + + + Location: + + + RSVP Deadline: + + + + + + + Are you attending? + + } label="Yes" /> + } label="No" /> + + + + + + + {guestList} + + + + + + + + + + + + ); +} + +export default Rsvp; -- cgit v1.2.3