import { User } from "../User/User"
import close from 'images/icons/close.svg'

export const UserListMobile: React.FC<any> = ({ isMobile, closePopup }) => {
    return (<div className="popup-mobile">
        <div className="popup-mobile-container">
            <div style={{top:"-20px", right: "-20px"}} onClick={closePopup} className="icon-close-container">
                <img src={close}></img>
            </div>
            <h2 style={{ marginBottom: "20px" }}>Участники демонстрации</h2>
            <User isMobile={isMobile} closeSidebar={closePopup}
                isSidebarWide={true} /// this is for disable showhing button's caption
                isAdmin={false}
            ></User>
        </div>

    </div>)
}