diff options
| author | IwanIDev <iwan@iwani.dev> | 2026-03-21 12:41:49 +0000 |
|---|---|---|
| committer | IwanIDev <iwan@iwani.dev> | 2026-03-21 12:41:49 +0000 |
| commit | 72f129472044a97ffa06136da0a473581914c7e9 (patch) | |
| tree | de9d0116f8f7da3716917e484efe1ebceb14f267 /src/lib/utils.ts | |
Initial Commit
Set up Astro and shadcn/ui
Diffstat (limited to 'src/lib/utils.ts')
| -rw-r--r-- | src/lib/utils.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/utils.ts b/src/lib/utils.ts new file mode 100644 index 0000000..bd0c391 --- /dev/null +++ b/src/lib/utils.ts @@ -0,0 +1,6 @@ +import { clsx, type ClassValue } from "clsx" +import { twMerge } from "tailwind-merge" + +export function cn(...inputs: ClassValue[]) { + return twMerge(clsx(inputs)) +} |
