diff options
| author | mihailo.vojinovic <mihailonvojinovic@gmail.com> | 2026-02-04 17:45:19 +0100 |
|---|---|---|
| committer | mihailo.vojinovic <mihailonvojinovic@gmail.com> | 2026-02-04 17:45:19 +0100 |
| commit | 6212895b7d3d0c27ab1d3d45e1aad1f9fc200279 (patch) | |
| tree | d543d1e1c829b1a70219fa7512c9f9b4cf9fc6c7 /src/utils | |
| parent | a107208f787622b691bd300433e6a89f9499ce6c (diff) | |
| download | invoice-6212895b7d3d0c27ab1d3d45e1aad1f9fc200279.tar.gz invoice-6212895b7d3d0c27ab1d3d45e1aad1f9fc200279.zip | |
Add cn util
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/cn.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/cn.ts b/src/utils/cn.ts new file mode 100644 index 0000000..365058c --- /dev/null +++ b/src/utils/cn.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)); +} |
