9 lines
189 B
TypeScript
9 lines
189 B
TypeScript
|
|
import type { ClassValue } from 'clsx'
|
||
|
|
import { clsx } from 'clsx'
|
||
|
|
import { twMerge } from 'tailwind-merge'
|
||
|
|
|
||
|
|
export function cn(...inputs: ClassValue[]) {
|
||
|
|
return twMerge(clsx(inputs))
|
||
|
|
}
|
||
|
|
|