UNPKG

@wq/material-web

Version:

Web bindings for @wq/material

21 lines (19 loc) 431 B
import React from "react"; import { Box } from "@mui/material"; import PropTypes from "prop-types"; export default function Container({ children }) { return ( <Box sx={{ display: "flex", flexDirection: "column", height: "100vh", }} > {children} </Box> ); } Container.propTypes = { children: PropTypes.node, };