MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / cn

Function cn

examples/astro/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
8/**
9 * Maps environment variables from `import.meta.env` to `process.env`.

Callers 2

input.tsxFile · 0.90
button.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected