MCPcopy
hub / github.com/vercel/chatbot / cn

Function cn

lib/utils.ts:14–16  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

12import { formatISO } from 'date-fns';
13
14export function cn(...inputs: ClassValue[]) {
15 return twMerge(clsx(inputs));
16}
17
18export const fetcher = async (url: string) => {
19 const response = await fetch(url);

Callers 15

ConsoleFunction · 0.90
VisibilitySelectorFunction · 0.90
ModelSelectorFunction · 0.90
SuggestionFunction · 0.90
PurePreviewMessageFunction · 0.90
DocumentContentFunction · 0.90
PureSpreadsheetEditorFunction · 0.90
PureArtifactActionsFunction · 0.90
ToastFunction · 0.90
label.tsxFile · 0.90
card.tsxFile · 0.90
textarea.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected