7 行
170 B
TypeScript
7 行
170 B
TypeScript
import { clsx, type ClassValue } from 'clsx'
|
|
import { twMerge } from 'tailwind-merge'
|
|
|
|
export function cn (...inputs: ClassValue[]) {
|
|
return twMerge(clsx(...inputs))
|
|
}
|