mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-29 14:31:35 +08:00
- Introduced a new UI component library for Cherry Studio, including various components such as buttons, inputs, and layout elements. - Updated configuration files to include the new library and its dependencies. - Enhanced the project structure to support modular imports and TypeScript definitions for better development experience.
10 lines
208 B
TypeScript
10 lines
208 B
TypeScript
import { type ClassValue, clsx } from 'clsx'
|
||
|
||
/**
|
||
* 合并CSS类名的工具函数
|
||
* 基于clsx,支持条件类名和Tailwind CSS
|
||
*/
|
||
export function cn(...inputs: ClassValue[]) {
|
||
return clsx(inputs)
|
||
}
|