feat(utils): add joinClassNames util

This commit is contained in:
AAGaming
2022-06-06 17:27:56 -04:00
parent b5192cf590
commit f34b9de97f

View File

@@ -85,3 +85,7 @@ export function unpatch(obj: any, name: any): void {
export function getReactInstance(o: HTMLElement | Element | Node) {
return o[Object.keys(o).find(k => k.startsWith('__reactInternalInstance')) as string]
}
export function joinClassNames(...classes: string[]): string {
return classes.join(" ");
}