MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / cn

Function cn

client/src/modules/utils.js:4–6  ·  view source on GitHub ↗
(...inputs)

Source from the content-addressed store, hash-verified

2import { twMerge } from "tailwind-merge";
3
4export function cn(...inputs) {
5 return twMerge(clsx(inputs));
6}
7
8export function displayInitials(name) {
9 if (!name || typeof name !== "string") return "?";

Callers 14

SidebarFunction · 0.90
ColorPickerControlFunction · 0.90
HeroPaginationNavFunction · 0.90
LineChartFunction · 0.90
BarChartFunction · 0.90
LongTextCellFunction · 0.90
TableComponentFunction · 0.90
TableDataFormattingModalFunction · 0.90
UserDashboardFunction · 0.90
DashboardListFunction · 0.90
WhatsNewItemCardFunction · 0.90
EmbeddedChartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected