feat: class merge

This commit is contained in:
2025-03-28 15:22:56 +03:00
parent 0da572e72a
commit d88f423416
3 changed files with 17 additions and 1 deletions

6
src/utils/class-merge.ts Normal file
View File

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