false, null or undefined.
Parameters
values
…ClassValue[]
Returns
string
Remarks
This isclsx, re-exported so a vendor surface needs no class-name dependency
of its own. It does not merge conflicting utility classes.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Joins class names, dropping the ones that are false, null or undefined.
function cn(...values): string;
false, null or undefined.
ClassValue[]
string
clsx, re-exported so a vendor surface needs no class-name dependency
of its own. It does not merge conflicting utility classes.
import { cn } from '@tappify/extension-sdk';
function Row({ compact }: { compact: boolean }) {
return <div className={cn('starter-row', compact && 'starter-row--compact')} />;
}
Was this page helpful?