{"size": 746, "ext": "js", "max_stars_repo_path": "node_modules/@uifabric/merge-styles/lib-commonjs/mergeStyles.js", "max_stars_repo_name": "GhostMachineSoftware/SPFX_UsefulLinks", "max_stars_repo_stars_event_min_datetime": "2020-06-01T12:54:01.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-01T12:54:01.000Z", "max_issues_repo_path": "node_modules/@uifabric/merge-styles/lib-commonjs/mergeStyles.js", "max_issues_repo_name": "GhostMachineSoftware/SPFX_UsefulLinks", "max_issues_repo_issues_event_min_datetime": "2021-03-10T14:23:59.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T02:58:15.000Z", "max_forks_repo_path": "node_modules/@uifabric/merge-styles/lib-commonjs/mergeStyles.js", "max_forks_repo_name": "GhostMachineSoftware/SPFX_UsefulLinks", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 33.9090909091, "max_line_length": 101, "alphanum_fraction": 0.6903485255}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var styleToClassName_1 = require("./styleToClassName");
var extractStyleParts_1 = require("./extractStyleParts");
/**
 * Concatination helper, which can merge class names together. Skips over falsey values.
 *
 * @public
 */
function mergeStyles() {
    var args = [];
    for (var _i = 0; _i < arguments.length; _i++) {
        args[_i] = arguments[_i];
    }
    var _a = extractStyleParts_1.extractStyleParts(args), classes = _a.classes, objects = _a.objects;
    if (objects.length) {
        classes.push(styleToClassName_1.styleToClassName(objects));
    }
    return classes.join(' ');
}
exports.mergeStyles = mergeStyles;
//# sourceMappingURL=mergeStyles.js.map