import { Fragment } from "react"; import Stack from "@mui/material/Stack"; import Box from "@mui/material/Box"; import Typography from "@mui/material/Typography"; import { useTheme } from "@mui/material/styles"; import { useMediaQuery } from "@mui/material"; export const SplitBox = ({ left, right, }: { left: React.ReactNode; right: React.ReactNode; }) => { const theme = useTheme(); const isSmall = useMediaQuery(theme.breakpoints.down("md")); return ( {left} {right} ); }; export const ConfigBox = ({ title, subtitle, rightContent, }: { title: string; subtitle: string; rightContent: React.ReactNode; }) => { return ( {title} {subtitle} } right={rightContent} /> ); };