From 308eb96365a7cee0ebc8118673c3b6c85497ce3e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 13 Oct 2024 00:38:09 +0800 Subject: init --- lib/utils.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/utils.ts (limited to 'lib/utils.ts') diff --git a/lib/utils.ts b/lib/utils.ts new file mode 100644 index 0000000..bd0c391 --- /dev/null +++ b/lib/utils.ts @@ -0,0 +1,6 @@ +import { clsx, type ClassValue } from "clsx" +import { twMerge } from "tailwind-merge" + +export function cn(...inputs: ClassValue[]) { + return twMerge(clsx(inputs)) +} -- cgit v1.2.3