import * as React from 'react'; import { cn } from '../../../lib/utils'; const Card = React.forwardRef>( ({ className, ...props }, ref) => (
) ); Card.displayName = 'Card'; const CardHeader = React.forwardRef>( ({ className, ...props }, ref) => (
) ); CardHeader.displayName = 'CardHeader'; const CardTitle = React.forwardRef>( ({ className, ...props }, ref) => (

) ); CardTitle.displayName = 'CardTitle'; const CardDescription = React.forwardRef>( ({ className, ...props }, ref) => (

) ); CardDescription.displayName = 'CardDescription'; const CardContent = React.forwardRef>( ({ className, ...props }, ref) => (

) ); CardContent.displayName = 'CardContent'; const CardFooter = React.forwardRef>( ({ className, ...props }, ref) => (
) ); CardFooter.displayName = 'CardFooter'; /** * Use inside a CardHeader with `className="flex flex-row items-start justify-between"`. * Positions an action (button/icon) at the trailing edge of the header. */ const CardAction = React.forwardRef>( ({ className, ...props }, ref) => (
) ); CardAction.displayName = 'CardAction'; export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, CardAction };