MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / cn

Function cn

webui/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 formatFileSize(bytes: number): string {
9 if (bytes === 0) return '0 B'

Callers 14

TerminalLineFunction · 0.90
dialog.tsxFile · 0.90
DialogHeaderFunction · 0.90
DialogFooterFunction · 0.90
label.tsxFile · 0.90
card.tsxFile · 0.90
tabs.tsxFile · 0.90
input.tsxFile · 0.90
checkbox.tsxFile · 0.90
scroll-area.tsxFile · 0.90
accordion.tsxFile · 0.90
button.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected