12 lines
328 B
TypeScript
12 lines
328 B
TypeScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
export default function joinClasses(...args: Array<string | boolean | null | undefined>) {
|
|
return args.filter(Boolean).join(' ')
|
|
}
|