MCPcopy
hub / github.com/megh-bari/pattern-craft / cn

Function cn

src/lib/utils.ts:6–8  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

4import { twMerge } from "tailwind-merge";
5
6export function cn(...inputs: ClassValue[]) {
7 return twMerge(clsx(inputs));
8}
9
10export function debounce<T extends any[]>(
11 fn: (...args: T) => any,

Callers 6

TabsFunction · 0.90
TabsListFunction · 0.90
TabsTriggerFunction · 0.90
TabsContentFunction · 0.90
ButtonFunction · 0.90
BadgeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected