diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-10-13 00:38:09 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-10-13 00:38:09 +0800 |
| commit | 308eb96365a7cee0ebc8118673c3b6c85497ce3e (patch) | |
| tree | 0c337f7314a1a8748e53024b0b573b05ccc8d3f3 /lib/utils.ts | |
| parent | 0f8ef7d98cb9dd2721f18c568d3da5eedd0d8297 (diff) | |
init
Diffstat (limited to 'lib/utils.ts')
| -rw-r--r-- | lib/utils.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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)) +} |
