1
0
forked from baron/baron-sso

common utils 경로로 cn helper 공용화

This commit is contained in:
2026-05-11 13:50:14 +09:00
parent d371bd32c8
commit 0655206f05
4 changed files with 15 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
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)]);
}