MCPcopy
hub / github.com/tinyauthapp/tinyauth / cn

Function cn

frontend/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 const capitalize = (str: string) => {
9 return str.charAt(0).toUpperCase() + str.slice(1);

Callers 15

LabelFunction · 0.90
CardFunction · 0.90
CardHeaderFunction · 0.90
CardTitleFunction · 0.90
CardDescriptionFunction · 0.90
CardActionFunction · 0.90
CardContentFunction · 0.90
CardFooterFunction · 0.90
SeparatorFunction · 0.90
TooltipContentFunction · 0.90
DropdownMenuContentFunction · 0.90
DropdownMenuItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected