UNPKG

@sglara/cn

Version:

A utility function that combines the power of `clsx` and `tailwind-merge` for seamless management of Tailwind CSS class names.

8 lines (7 loc) 281 B
import { ClassValue } from "clsx"; /** * Combines clsx and tailwind-merge for optimal class merging. * @param inputs - Class names or conditional class values. * @returns A single string with merged class names. */ export declare const cn: (...inputs: ClassValue[]) => string;