import { __assign, __rest } from "tslib";
import React from "react";
import ListItem from "../ListItem";
import { Avatar } from "../../../Avatar";
var ListItemAvatar = React.forwardRef(function (props, ref) {
    var status = props.status, image = props.image, text = props.text, icon = props.icon, listItemProps = __rest(props, ["status", "image", "text", "icon"]);
    return (React.createElement(ListItem, __assign({ ref: ref, leadContent: React.createElement(Avatar, { status: status, image: image, size: "s", text: text, icon: icon, isDisabled: listItemProps.isDisabled }) }, listItemProps)));
});
ListItemAvatar.displayName = "ListItemAvatar";
export default ListItemAvatar;
