6 lines
163 B
TypeScript
6 lines
163 B
TypeScript
import clsx from "clsx"
|
|
import { twMerge } from "tailwind-merge"
|
|
|
|
export const cn = (...inputs: Parameters<typeof clsx>) => {
|
|
return twMerge(clsx(...inputs))
|
|
} |