UNPKG

260 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6function mergeClassNames(a, b) {
7 if (a && b) {
8 return a + ' ' + b;
9 }
10
11 // Either a or b at this point
12 return (a || '') + (b || '');
13}
14
15exports.default = mergeClassNames;
\No newline at end of file