7 lines
185 B
TypeScript
7 lines
185 B
TypeScript
import { type ClassValue, clsx } from "clsx"
|
|
import { twMerge } from "tailwind-merge"
|
|
|
|
export const classNames = (...inputs: ClassValue[]): string => {
|
|
return twMerge(clsx(inputs))
|
|
}
|