8 lines
181 B
TypeScript
8 lines
181 B
TypeScript
|
|
// utils.ts
|
||
|
|
import { clsx, type ClassValue } from "clsx";
|
||
|
|
import { twMerge } from "tailwind-merge";
|
||
|
|
|
||
|
|
export function cn(...inputs: ClassValue[]) {
|
||
|
|
return twMerge(clsx(inputs));
|
||
|
|
}
|