import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

/**
 * Combine et résout les conflits de classes Tailwind.
 * Utilisation : `<div className={cn("p-4", maybeBig && "p-8")} />`
 */
export function cn(...inputs: ClassValue[]): string {
  return twMerge(clsx(inputs));
}
