import * as React from "react" import { cn } from "../ui/utils" interface SectionCardProps extends React.ComponentProps<"div"> { title?: string headerRight?: React.ReactNode footer?: React.ReactNode } function SectionCard({ title, headerRight, footer, className, children, ...props }: SectionCardProps) { return (
{(title || headerRight) && (
{title && (

{title}

)} {headerRight}
)} {children} {footer && (
{footer}
)}
) } export { SectionCard } export type { SectionCardProps }