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