import { cn } from '@evershop/evershop/lib/util/cn'; import * as React from 'react'; function Card({ className, size = 'default', ...props }: React.ComponentProps<'div'> & { size?: 'default' | 'sm' }) { return (
img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl group/card flex flex-col', className )} {...props} /> ); } function CardHeader({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardTitle({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardDescription({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardAction({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardContent({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardFooter({ className, ...props }: React.ComponentProps<'div'>) { return (
); } export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };