80e58678a0
* create suspense boudaries for server components * update scrollbars ui * homepage cards updates * small theme updates * add template address search input * fetch nym nodes * add favorite component * add mrt node table * update packages * update node version * update build script * resolve next hydration issue * resolve next hydration issue * update node table header alignment
26 lines
432 B
TypeScript
26 lines
432 B
TypeScript
import { Box, type BoxProps } from "@mui/material";
|
|
|
|
export const ContentLayout = ({
|
|
children,
|
|
className,
|
|
sx,
|
|
...rest
|
|
}: BoxProps) => {
|
|
return (
|
|
<Box
|
|
component={"main"}
|
|
sx={{
|
|
display: "flex",
|
|
flexDirection: "column",
|
|
gap: { xs: 3, md: 10 },
|
|
py: { xs: 3, md: 10 },
|
|
...sx,
|
|
}}
|
|
className={className}
|
|
{...rest}
|
|
>
|
|
{children}
|
|
</Box>
|
|
);
|
|
};
|