MCPcopy
hub / github.com/pascalorg/editor / cn

Function cn

packages/editor/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 isDevelopment =
9 process.env.NODE_ENV === 'development' || process.env.NEXT_PUBLIC_VERCEL_ENV === 'development'

Callers 15

WindowPanelFunction · 0.90
DormerPanelFunction · 0.90
ColumnPanelFunction · 0.90
DoorPanelFunction · 0.90
ViewerOverlayFunction · 0.90
FloorplanGuideHandleHintFunction · 0.90
FloorplanPanelFunction · 0.90
LevelRowFunction · 0.90
FloatingLevelSelectorFunction · 0.90
SliderFunction · 0.90
SceneLoaderFunction · 0.90
LevelDuplicateDialogFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected