mirror of
https://github.com/cosscom/coss.git
synced 2026-09-14 20:06:50 +08:00
14 lines
461 B
JSON
14 lines
461 B
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "utils",
|
|
"type": "registry:lib",
|
|
"dependencies": ["clsx", "tailwind-merge"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/lib/utils.ts",
|
|
"content": "import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
}
|