8 lines
184 B
TypeScript
8 lines
184 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));
|
|
} |