import { ReactNode } from 'react';
import { Button } from './Button';
import { cn } from '@/lib/utils';
interface ActionCardProps {
title: string;
description?: string;
icon?: ReactNode;
onClick?: () => void;
href?: string;
variant?: 'primary' | 'secondary' | 'ghost';
className?: string;
}
export function ActionCard({
title,
description,
icon,
onClick,
href,
variant = 'secondary',
className
}: ActionCardProps) {
const content = (
);
if (href) {
return (
{content}
);
}
return content;
}