Spaces:
Configuration error
Configuration error
Download web/libs/ui/src/utils/utils.ts from bisalsaha/lebel-studio: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/ui/src/utils/utils.ts
- Command line
-
hf download hf://spaces/bisalsaha/lebel-studio/web/libs/ui/src/utils/utils.ts
-
curl -L -o utils.ts https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/ui/src/utils/utils.ts
336 Bytes
| import { type ClassValue, clsx } from "clsx"; | |
| import { twMerge } from "tailwind-merge"; | |
| /** | |
| * Smart merge class names | |
| */ | |
| export function cn(...inputs: ClassValue[]) { | |
| return clsx(inputs); | |
| } | |
| /** | |
| * Merge class names + merge optimize Tailwind classes | |
| */ | |
| export function cnm(...input: ClassValue[]) { | |
| return twMerge(cn(input)); | |
| } | |