import { User } from "components/pages/Stream/User/User";

export const UserList: React.FC<any> = ({ isSidebarWide, isAdmin, closeSidebar, isMobile, userArr }) => {
  console.log(userArr)
  return (
    <div className="toolbar-field-part">
      {userArr.map((i: any) => (<User closeSidebar={closeSidebar} isAdmin={isAdmin} isSidebarWide={isSidebarWide}></User>
      ))}
      <div className="toolbar-button-container-border-line"></div>
    </div>
  );
};
