Template
feat: 模板适配层、易班能力与全局状态
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
3995656175
commit
d3ae0a8ca7
45 files changed
+6931
-179
No files matched your search
+1
-10
@@ -1,10 +1 @@
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
/**
|
||||
* 合并 Tailwind CSS 类名,自动处理冲突
|
||||
* @param classes - 要合并的类名
|
||||
* @returns 合并后的类名字符串
|
||||
*/
|
||||
export function cn(...classes: (string | undefined | null | false)[]): string {
|
||||
return twMerge(classes.filter(Boolean).join(" "));
|
||||
}
|
||||
export { cn } from "@/lib/cn";
|
||||
Reference in new issue
Block a user