import { jsx } from "react/jsx-runtime";
import { Box } from "../Box/Box.mjs";
import { buildDataAttributes } from "../Accordion/Accordion.mjs";
import { marginAuto } from "./ContentBlock.css.mjs";
const ContentBlock = ({
  width = "medium",
  data,
  children,
  ...restProps
}) => /* @__PURE__ */ jsx(
  Box,
  {
    width: "full",
    maxWidth: width,
    className: marginAuto,
    ...buildDataAttributes({ data, validateRestProps: restProps }),
    children
  }
);
export {
  ContentBlock
};
