Download src/utils/ui.ts from Jessedbrown/daisy-client: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/Jessedbrown/daisy-client/resolve/main/src/utils/ui.ts
- Command line
-
hf download hf://Jessedbrown/daisy-client/src/utils/ui.ts
-
curl -L -o ui.ts https://huggingface.co/Jessedbrown/daisy-client/resolve/main/src/utils/ui.ts
297 Bytes
| import { type ClassValue, clsx } from 'clsx'; | |
| import { twMerge } from 'tailwind-merge'; | |
| /** | |
| * UI utility functions | |
| * | |
| * Functions specifically for UI components and styling. | |
| */ | |
| // Tailwind CSS class name utility | |
| export function cn(...inputs: ClassValue[]) { | |
| return twMerge(clsx(inputs)); | |
| } | |