From 8c65e5d0d8d62028d1f3ae59ae358eb7a2820dd0 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Sat, 6 Jul 2024 17:01:40 -0700 Subject: Move style to FlexBox component --- client/src/components/Schedule.tsx | 48 +++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 27 deletions(-) (limited to 'client/src/components/Schedule.tsx') diff --git a/client/src/components/Schedule.tsx b/client/src/components/Schedule.tsx index a8648ed..bb5f809 100644 --- a/client/src/components/Schedule.tsx +++ b/client/src/components/Schedule.tsx @@ -1,6 +1,21 @@ import React from 'react'; import { Container, Paper, Typography, useTheme } from '@mui/material'; +const FlexBox = (props: any) => { + return ( +
+ {props.children} +
+ ); +}; + function Schedule() { const theme = useTheme(); return ( @@ -32,30 +47,16 @@ function Schedule() { justifyContent: 'center', }} > -
+

April 26, 2025

Wedding Schedule
-
+
-
+

3:00 PM

@@ -72,16 +73,9 @@ function Schedule() {

- +
-
+

5:00 PM

@@ -98,7 +92,7 @@ function Schedule() {

- + -- cgit v1.2.3