mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-14 01:18:15 -05:00
10 lines
263 B
TypeScript
10 lines
263 B
TypeScript
import { type ClassValue, clsx } from 'clsx'
|
|
import { twMerge } from 'tailwind-merge'
|
|
|
|
/**
|
|
* Combines multiple class names into a single string, merging Tailwind classes properly
|
|
*/
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs))
|
|
}
|