🔧 Create shadcn `cn` helper.

This commit is contained in:
pheralb 2023-12-11 23:30:54 +00:00
parent b815018a70
commit ff26de5baf

6
src/utils/cn.ts Normal file
View File

@ -0,0 +1,6 @@
import { clsx, type ClassValue } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}