(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "react", "./styles"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var tslib_1 = require("tslib");
    var react_1 = (0, tslib_1.__importDefault)(require("react"));
    var styles_1 = require("./styles");
    var ListItemLeadContent = function (_a) {
        var leadIcon = _a.leadIcon, leadContent = _a.leadContent;
        if (leadIcon) {
            return react_1.default.createElement(styles_1.IconWrapper, null, leadIcon);
        }
        else if (leadContent) {
            return leadContent;
        }
        return null;
    };
    exports.default = ListItemLeadContent;
});
