import type * as React from 'react'; import { cn } from '@gib/ui'; const Card = ({ className, size = 'default', ...props }: React.ComponentProps<'div'> & { size?: 'default' | 'sm' }) => (
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-xl *:[img:last-child]:rounded-b-xl', className, )} {...props} /> ); const CardHeader = ({ className, ...props }: React.ComponentProps<'div'>) => (
); const CardTitle = ({ className, ...props }: React.ComponentProps<'div'>) => (
); const CardDescription = ({ className, ...props }: React.ComponentProps<'div'>) => (
); const CardAction = ({ className, ...props }: React.ComponentProps<'div'>) => (
); const CardContent = ({ className, ...props }: React.ComponentProps<'div'>) => (
); const CardFooter = ({ className, ...props }: React.ComponentProps<'div'>) => (
); export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };