Download web/utils/classnames.ts from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 176 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/web/utils/classnames.ts
- Command line
-
hf download hf://spaces/ZHZ1024/dify/web/utils/classnames.ts
-
curl -L -o classnames.ts https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/web/utils/classnames.ts
176 Bytes
| import { twMerge } from 'tailwind-merge' | |
| import cn from 'classnames' | |
| const classNames = (...cls: cn.ArgumentArray) => { | |
| return twMerge(cn(cls)) | |
| } | |
| export default classNames | |