import { ReactNode } from 'react'
import { cn, surfaces } from '@/lib/theme'
type CardVariant = keyof typeof surfaces.card
type SectionVariant = keyof typeof surfaces.section
interface CardProps {
children: ReactNode
title?: ReactNode
variant?: CardVariant | SectionVariant
className?: string
spanCols?: number
onClick?: () => void
}
/**
* Versatile card component with optional title and column spanning.
*
* Supports both card and section variants from the theme system.
* Can display an optional title (string or ReactNode with icons) and span multiple grid columns.
*
* @example
* ```tsx
* // Simple card
*