File size: 722 Bytes
b86fef0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import React from "react";
export function Card({ className = "", ...props }) {
return <div className={`rounded-2xl border bg-white ${className}`} {...props} />;
}
export function CardHeader({ className = "", ...props }) {
return <div className={`p-6 border-b ${className}`} {...props} />;
}
export function CardTitle({ className = "", children, ...props }) {
return <h3 className={`text-lg font-semibold leading-none ${className}`} {...props}>{children}</h3>;
}
export function CardContent({ className = "", ...props }) {
return <div className={`p-6 ${className}`} {...props} />;
}
export function CardFooter({ className = "", ...props }) {
return <div className={`p-6 border-t ${className}`} {...props} />;
}
|