import { cn } from "@/lib/utils"

interface ContentBoxProps {
    title: string,
    children: React.ReactNode
}

const ContentBox = (props: ContentBoxProps)=>{
    return(
        <div className={cn("shadow-lg m-10")}>
            <div className={cn("bg-666666 text-white p-8 pt-4 pb-4 text-xl text-left")}>{props.title}</div>
            <div className={cn("border-solid border-1 border-black p-8 text-eth")}>
                {props.children}
            </div>
        </div>
    );
}

export default ContentBox;