11 lines
274 B
TypeScript
11 lines
274 B
TypeScript
import { clsx, type ClassValue } from 'clsx';
|
|
import { twMerge } from 'tailwind-merge';
|
|
|
|
/**
|
|
* Merge conditional class names and resolve Tailwind conflicts.
|
|
* Standard shadcn/ui helper.
|
|
*/
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs));
|
|
}
|