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