mirror of
https://github.com/standardnotes/app
synced 2026-08-05 12:16:39 -04:00
4 lines
172 B
TypeScript
4 lines
172 B
TypeScript
export const classNames = (...values: (string | boolean | undefined)[]): string => {
|
|
return values.map((value) => (typeof value === 'string' ? value : null)).join(' ')
|
|
}
|