the following is my code: import { Box, Typography, styled } from "@mui/material";…
- User
the following is my code: import { Box, Typography, styled } from "@mui/material"; import CustomerProfile from "./components/CustomerProfile"; import InfoCard from "./components/InfoCard"; import FeedIcon from "@mui/icons-material/Feed"; import LocationOnIcon from "@mui/icons-material/LocationOn"; import AccountCircleIcon from "@mui/icons-material/AccountCircle";
const Container = styled(Box)(({ theme }) => ({ display: "flex", flexDirection: "column", padding: theme.spacing(4), gap: theme.spacing(4), }));
const InfoCardContainer = styled(Box)(({ theme }) => ({ display: "flex", width: "100%", gap: theme.spacing(4), }));
const ContentContainer = styled(Box)(({ theme }) => ({ display: "flex", justifyContent: "space-around", gap: theme.spacing(2), padding: theme.spacing(4), }));
const ContentColumn = styled(Box)(({ theme }) => ({ flex: 1, display: "flex", flexDirection: "column", gap: theme.spacing(1), }));
const ContentTitle = styled(Typography)({ color: "#8f9daf", });
const ContentSubtitle = styled(Typography)( ({ theme, green = false, red = false }) => ({ color: green ? "#41beb0" : red ? "#ff7a7d" : theme.palette.primary.main, fontWeight: "bold", }) );
const EmploymentInformation = () => { return ( Occupation: Office Administration Approved Employer: Yes Salary Transferred: No Organization: KFMC Place: Riyadh ); };
const AddressInformation = () => { return ( Street: Ahmed bin Khaled St. Building No. 1234 City: Riyadh District: Al-Olaya Secondary No. Riyadh Postal Code: 11452 ); };
const IdInformation = () => { return ( ID Type: Saudi ID Date of Birth: 15, June 1996 ID Number: 1091182301 Date of Expiry: 30, Dec 2025 ); };
const employmentInfo = { title: "Employment Information", icon: , content: , };
const addressInfo = { title: "Address Information", icon: , content: , };
const idInfo = { title: "ID Information", icon: , content: , };
const Home = () => { return ( ); };
export default Home;
The following is the error: Warning: Received
truefor a non-boolean attributegreen. Can you please edit the code to solve the error? - Assistant