import React from "react" import Style from "./BoxWithHeader.module.css" import classNames from "classnames" /** * A box with both a header and a body. * * @param header - The contents of the box header. * @param children - The contents of the box body. * @param className - Additional class(es) that should be added to the outer `
` of the box. * @param props - Additional props to pass to the box. * @returns {JSX.Element} * @constructor */ export default function BoxWithHeader({ header, children, className, ...props }) { return (
{header}
{children}
) }