shared library hinzugefügt
This commit is contained in:
6
packages/shared-components/helper/cn.ts
Normal file
6
packages/shared-components/helper/cn.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import clsx, { ClassValue } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export const cn = (...inputs: ClassValue[]) => {
|
||||
return twMerge(clsx(inputs));
|
||||
};
|
||||
1
packages/shared-components/helper/index.ts
Normal file
1
packages/shared-components/helper/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./cn";
|
||||
Reference in New Issue
Block a user