aboutsummaryrefslogtreecommitdiffstats
path: root/web/lib/utils.ts
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-06 12:26:29 +0000
committerMohamedBassem <me@mbassem.com>2024-02-06 12:26:29 +0000
commit083ea5bd19172381bb53e95aaf98eaabef839c54 (patch)
tree4d1c041aab7cd8d15382330db08caeb9c5a12c63 /web/lib/utils.ts
parentb792121977ade8bdd3fb62704b65a9fcbd1436b9 (diff)
downloadkarakeep-083ea5bd19172381bb53e95aaf98eaabef839c54.tar.zst
Move the web app into a subdir
Diffstat (limited to 'web/lib/utils.ts')
-rw-r--r--web/lib/utils.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/lib/utils.ts b/web/lib/utils.ts
new file mode 100644
index 00000000..d084ccad
--- /dev/null
+++ b/web/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))
+}