MCPcopy
hub / github.com/fccview/jotty / cn

Function cn

app/_utils/global-utils.ts:3–5  ·  view source on GitHub ↗
(...inputs: ClassValue[])

Source from the content-addressed store, hash-verified

1import { type ClassValue, clsx } from "clsx";
2import { twMerge } from "tailwind-merge";
3export const cn = (...inputs: ClassValue[]) => {
4 return twMerge(clsx(inputs));
5};
6
7export const getFlagPath = (countryCode: string): string => {
8 return `/flags/${countryCode}.svg`;

Callers 15

ConnectionIndicatorFunction · 0.90
InfoCardFunction · 0.90
ReadingProgressBarFunction · 0.90
AccordionFunction · 0.90
MobileHeaderFunction · 0.90
JottyIconFunction · 0.90
LogoFunction · 0.90
Button.tsxFile · 0.90
CategoryTreeNodeFunction · 0.90
CategoryMultiselectFunction · 0.90
DropdownMenuFunction · 0.90
DropdownFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected