"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var _ = require("lodash");
var core_1 = require("@material-ui/core");
exports.wrapImageIfNecessary = function (el) {
    if (_.isString(el)) {
        return (React.createElement(core_1.Icon, { className: el, fontSize: 'inherit' }));
    }
    return el;
};
//# sourceMappingURL=image-provider.util.js.map