import * as React from 'react';
import { classNames } from '../../lib/utils';
const Card = React.forwardRef<
HTMLDivElement,
React.ComponentProps<'div'> & { size?: 'default' | 'sm' }
>(function Card({ className, size = 'default', ...props }, ref) {
return (
img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-2xl *:[img:last-child]:rounded-b-2xl',
className
)}
{...props}
ref={ref}
/>
);
});
const CardHeader = React.forwardRef<
HTMLDivElement,
React.ComponentProps<'div'>
>(function CardHeader({ className, ...props }, ref) {
return (
);
});
const CardTitle = React.forwardRef
>(
function CardTitle({ className, ...props }, ref) {
return (
);
}
);
const CardDescription = React.forwardRef<
HTMLDivElement,
React.ComponentProps<'div'>
>(function CardDescription({ className, ...props }, ref) {
return (
);
});
const CardAction = React.forwardRef<
HTMLDivElement,
React.ComponentProps<'div'>
>(function CardAction({ className, ...props }, ref) {
return (
);
});
const CardContent = React.forwardRef<
HTMLDivElement,
React.ComponentProps<'div'>
>(function CardContent({ className, ...props }, ref) {
return (
);
});
const CardFooter = React.forwardRef<
HTMLDivElement,
React.ComponentProps<'div'>
>(function CardFooter({ className, ...props }, ref) {
return (
);
});
export {
Card,
CardHeader,
CardFooter,
CardTitle,
CardAction,
CardDescription,
CardContent,
};