Comprehensive frontend fixes: Updated gitignore, fixed all import paths, enhanced lib utilities
49e7bf6 Download src/lib/utils.ts from Bromeo777/RM: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/Bromeo777/RM/resolve/main/src/lib/utils.ts
- Command line
-
hf download hf://spaces/Bromeo777/RM/src/lib/utils.ts
-
curl -L -o utils.ts https://huggingface.co/spaces/Bromeo777/RM/resolve/main/src/lib/utils.ts
265 Bytes
| import { type ClassValue, clsx } from "clsx" | |
| import { twMerge } from "tailwind-merge" | |
| /** | |
| * cn - Class Names Utility | |
| * Combines clsx and tailwind-merge for optimal class handling | |
| */ | |
| export function cn(...inputs: ClassValue[]) { | |
| return twMerge(clsx(inputs)) | |
| } | |