import { Paper } from "@mui/material"; import { useTheme } from "@mui/material/styles"; import PropTypes from "prop-types"; import { Box, Stack, Typography, Divider } from "@mui/material"; const SummaryCard = ({ children, isHighPriority = false, sx = {}, title = null }) => { const theme = useTheme(); return ( {title && ( {title} )} {children} ); }; SummaryCard.propTypes = { children: PropTypes.node, isHighPriority: PropTypes.bool, sx: PropTypes.object, title: PropTypes.string, }; export default SummaryCard;