@neuctra/ui
Version:
A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.
11 lines (10 loc) • 465 B
TypeScript
import { ClassValue } from 'clsx';
/**
* Merge class names, resolving Tailwind conflicts by argument order.
*
* `clsx` alone only concatenates, so `clsx("px-5", "px-2")` emits both and the
* winner is decided by stylesheet order rather than intent. `twMerge` drops the
* losing utility, which is what makes a consumer's `className` actually
* override a component's defaults — pass it LAST.
*/
export declare const cn: (...inputs: ClassValue[]) => string;