MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / cn

Function cn

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

Source from the content-addressed store, hash-verified

2import { twMerge } from 'tailwind-merge'
3
4export function cn(...inputs: ClassValue[]) {
5 return twMerge(clsx(inputs))
6}
7
8export function changeOrUpgrade(isUpgrade: boolean, planName?: string) {
9 return isUpgrade ? 'upgrade' : 'change'

Callers 15

FileIconFunction · 0.90
FileTreeItemFunction · 0.90
IDEDemoFunction · 0.90
BrowserPreviewFunction · 0.90
TerminalDemoFunction · 0.90
BrowserPreviewFunction · 0.90
CreditPurchaseSectionFunction · 0.90
dialog.tsxFile · 0.90
DialogHeaderFunction · 0.90
DialogFooterFunction · 0.90
InstallDialogFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected