/** Karte — die Grundflaeche aller Inhalte. */ import type { HTMLAttributes, ReactNode } from 'react'; import { cn } from '@/lib/utils'; export function Card({ className, ...restProps }: HTMLAttributes) { return (
); } export function CardHeader({ className, title, description, action, ...restProps }: HTMLAttributes & { readonly title?: ReactNode | undefined; readonly description?: ReactNode | undefined; readonly action?: ReactNode | undefined; }) { return (
{title ?

{title}

: null} {description ? (

{description}

) : null}
{action ?
{action}
: null}
); } export function CardContent({ className, ...restProps }: HTMLAttributes) { return
; } export function CardFooter({ className, ...restProps }: HTMLAttributes) { return (
); }