cherry-studio/packages/ui/src/utils/index.ts
MyPrototypeWhat d3028f1dd1 feat: add @cherrystudio/ui component library
- 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.
2025-09-15 12:03:39 +08:00

10 lines
208 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { type ClassValue, clsx } from 'clsx'
/**
* 合并CSS类名的工具函数
* 基于clsx支持条件类名和Tailwind CSS
*/
export function cn(...inputs: ClassValue[]) {
return clsx(inputs)
}