import React from "react"; import BorderedContainer from "./BorderedContainer"; type Props = { caption: string; children: React.ReactNode; }; export default function BorderedContainerWithCaption({ caption, children, }: Props) { return (

{caption}

{children}
); }