import Subtitle from "../Typography/Subtitle" import * as React from "react" interface TitleCardProps { title: string, children : React.ReactNode, topMargin: string, className?: string, TopSideButtons?: any } export function TitleCard({title, children, topMargin, TopSideButtons, className} : TitleCardProps){ return(
{/* Title for Card */} {title} {/* Top side button, show only if present */} { TopSideButtons &&
{TopSideButtons}
}
{/** Card Body */}
{children}
) }