"use client";
import { HTMLAttributes } from "react";
interface CardProps extends HTMLAttributes {
hover?: boolean;
padding?: "none" | "sm" | "md" | "lg";
}
const paddings = { none: "", sm: "p-3", md: "p-4 sm:p-5", lg: "p-5 sm:p-6" };
/** Carte standard du design system (surface + bordure + ombre douce). */
export default function Card({ hover, padding = "md", className = "", children, ...props }: CardProps) {
return (
{children}
);
}
export function CardTitle({ children, className = "", action }: { children: React.ReactNode; className?: string; action?: React.ReactNode }) {
return (
{children}
{action}
);
}