import * as React from 'react' import { cn } from '@admin/utils/shared/cn' function Card({ className, size = 'default', ...props }: React.ComponentProps<'div'> & { size?: 'default' | 'sm' }) { return (
[data-slot=card-footer]]:p-0.5 has-[>[data-slot=card-header]]:p-0.5 has-[>img:first-child]:pt-0 *:[img:first-child]:rounded-t-lg *:[img:last-child]:rounded-b', 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 }