common utils 경로로 cn helper 공용화

This commit is contained in:
kyy
2026-05-12 13:49:51 +09:00
parent d371bd32c8
commit 0655206f05
4 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -1,8 +1,10 @@
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
import { mergeClassNames } from "../../../common/core/utils";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
return mergeClassNames(twMerge, [clsx(inputs)]);
}
export function generateSecurePassword(length = 16): string {