structure

This commit is contained in:
hamid zarghami
2024-12-23 15:09:11 +03:30
commit 6cb43e42b2
36 changed files with 5071 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { twMerge } from "tailwind-merge";
/**
* Concatenates truthy classes into a space-separated string.
*
* @param classes - The classes to concatenate.
* @returns The concatenated classes.
*/
export const clx = (...classes: (string | boolean | undefined)[]): string => {
return twMerge(classes.filter(Boolean).join(" "));
};