From be5904941beb25b008f25ede0c314cb317d5a499 Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Thu, 19 Oct 2023 15:23:28 +0530 Subject: [PATCH] shadcn setup --- packages/atoms/src/lib/utils.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 packages/atoms/src/lib/utils.ts diff --git a/packages/atoms/src/lib/utils.ts b/packages/atoms/src/lib/utils.ts new file mode 100644 index 0000000000..365058cebd --- /dev/null +++ b/packages/atoms/src/lib/utils.ts @@ -0,0 +1,6 @@ +import { type ClassValue, clsx } from "clsx"; +import { twMerge } from "tailwind-merge"; + +export function cn(...inputs: ClassValue[]) { + return twMerge(clsx(inputs)); +}