Services: Admin-Compliance, Backend-Compliance, AI-Compliance-SDK, Consent-SDK, Developer-Portal, PCA-Platform, DSMS Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
229 B
TypeScript
8 lines
229 B
TypeScript
/**
|
|
* Utility function for merging class names.
|
|
* Filters out falsy values and joins with spaces.
|
|
*/
|
|
export function cn(...classes: (string | undefined | null | false)[]): string {
|
|
return classes.filter(Boolean).join(' ')
|
|
}
|