- Add cn() utility function for className merging - Add DSFACard, RiskMatrix, ApprovalPanel components 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(' ')
|
|
}
|