MCPcopy
hub / github.com/wandb/openui / cn

Function cn

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

Source from the content-addressed store, hash-verified

4import type { Framework, Image } from '../state'
5
6export function cn(...inputs: ClassValue[]) {
7 return twMerge(clsx(inputs))
8}
9
10export async function calculateSHA256(message: string) {
11 // Convert the message to a Uint8Array

Callers 15

LogoFunction · 0.90
FileUploadFunction · 0.90
VersionPreviewFunction · 0.90
slugToNiceNameFunction · 0.90
ChatFunction · 0.90
HistoryItemFunction · 0.90
PromptFunction · 0.90
ExamplesFunction · 0.90
HTMLAnnotatorFunction · 0.90
CodeViewerFunction · 0.90
NavBarFunction · 0.90
dialog.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected