@checkout-kit/ui / cx
Variable: cx
ts
const cx: (...values) => string;Joins class names. Not clsx, not tailwind-merge: the kit ships plain classes that never conflict, so a dependency to resolve conflicts would earn its weight in nothing.
Takes anything, so cond && "x" works whatever cond is.
Parameters
| Parameter | Type |
|---|---|
...values | unknown[] |
Returns
string