/** * Renders a base box with consistent styling * @param {Object} props - Component properties * @param {React.ReactNode} props.children - Child components to render inside the box * @param {Object} props.sx - Additional styling for the box * @returns {React.ReactElement} Styled box component */ // Components import { Box } from "@mui/material"; // Utils import { useTheme } from "@emotion/react"; import { useHardwareUtils } from "../../Hooks/useHardwareUtils.jsx"; import PropTypes from "prop-types"; const BaseContainer = ({ children, sx = {} }) => { const theme = useTheme(); const { getDimensions } = useHardwareUtils(); return ( {children} ); }; BaseContainer.propTypes = { children: PropTypes.node.isRequired, sx: PropTypes.object, }; export default BaseContainer;