"use strict";

Object.defineProperty(exports, "__esModule", {
    value: true
});

exports.default = function (theme, mapper) {
    return function (props, defaultClass) {
        if (Object.keys(props).length) {
            return Object.keys(props).map(function (className) {
                return mapper ? theme[mapper(className)] : theme[className];
            });
        } else {
            return defaultClass ? [theme[defaultClass]] : [];
        }
    };
};
"use strict";

Object.defineProperty(exports, "__esModule", {
    value: true
});

exports.default = function (theme, mapper) {
    return function (props, defaultClass) {
        if (Object.keys(props).length) {
            return Object.keys(props).filter(function (prop) {
                return !!props[prop];
            }).map(function (className) {
                return mapper ? theme[mapper(className)] : theme[className];
            });
        } else {
            return defaultClass ? [theme[defaultClass]] : [];
        }
    };
};
Add latest generated build file (es5)
chore(dist): Add latest generated build file (es5)
