import React from "react"; import { Grid2 as Grid, Grid2Props, Stack, StackProps, SxProps } from "@mui/material"; import { ss } from "../util/select_styles"; const commonStyles: SxProps = { bgcolor: "background.default", position: "relative", padding: { xs: 1, sm: 3 }, paddingBottom: { xs: 14, sm: 4 }, }; interface ContentProps extends React.PropsWithChildren> { layout: "fullWidth" | "fixedWidth"; sx?: SxProps; } const MAX_WIDTH = 1300; export const Content: React.FC = ({ layout, sx, children, ...props }) => { switch (layout) { case "fullWidth": return ( {children} ); case "fixedWidth": return ( {children} ); } }; export interface ColumnProps extends React.PropsWithChildren> { stackProps?: StackProps; } export const LeftColumn: React.FC = ({ children, stackProps, ...props }) => ( {children} ); export const RightColumn: React.FC = ({ children, stackProps, ...props }) => ( {children} ); export const TwoColumn: React.FC = ({ children, ...props }) => ( {children} ); export const ContentWrapperWithActionBar: React.FC = ({ children, sx, ...props }) => ( {children} ); export default Content;