nav/lib/utils.ts

7 lines
166 B
TypeScript
Raw Permalink Normal View History

2024-11-16 20:43:06 +08:00
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}