MCPcopy
hub / github.com/janhq/jan / cn

Function cn

web-app/src/lib/utils.ts:10–12  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

8import type { VFile } from 'vfile'
9
10export function cn(...inputs: ClassValue[]) {
11 return twMerge(clsx(inputs))
12}
13
14export function basenameNoExt(filePath: string): string {
15 const base = path.basename(filePath)

Callers 15

CitationLink.tsxFile · 0.90
tabClassFunction · 0.90
HtmlArtifactComponentFunction · 0.90
MarkdownTableFunction · 0.90
Citations.tsxFile · 0.90
TokenCounter.tsxFile · 0.90
RowFunction · 0.90
folders.tsxFile · 0.90
folder-open.tsxFile · 0.90
bot.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected