(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", "../ListItem", "../../../Avatar"], 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 ListItem_1 = (0, tslib_1.__importDefault)(require("../ListItem"));
    var Avatar_1 = require("../../../Avatar");
    var ListItemAvatar = react_1.default.forwardRef(function (props, ref) {
        var status = props.status, image = props.image, text = props.text, icon = props.icon, listItemProps = (0, tslib_1.__rest)(props, ["status", "image", "text", "icon"]);
        return (react_1.default.createElement(ListItem_1.default, (0, tslib_1.__assign)({ ref: ref, leadContent: react_1.default.createElement(Avatar_1.Avatar, { status: status, image: image, size: "s", text: text, icon: icon, isDisabled: listItemProps.isDisabled }) }, listItemProps)));
    });
    ListItemAvatar.displayName = "ListItemAvatar";
    exports.default = ListItemAvatar;
});
