import React from 'react';
import PropTypes from 'prop-types';
import { withTranslation } from 'react-i18next';
import { UncontrolledTooltip } from 'reactstrap';
import AppContainer from '../services/AppContainer';
import PageAccessoriesContainer from '../services/PageAccessoriesContainer';
import PageListIcon from './Icons/PageListIcon';
import TimeLineIcon from './Icons/TimeLineIcon';
import RecentChangesIcon from './Icons/RecentChangesIcon';
import AttachmentIcon from './Icons/AttachmentIcon';
import ShareLinkIcon from './Icons/ShareLinkIcon';
import PageAccessoriesModal from './PageAccessoriesModal';
import { withUnstatedContainers } from './UnstatedUtils';
const TopOfTableContents = (props) => {
const { t, appContainer, pageAccessoriesContainer } = props;
const isGuestUserMode = (appContainer.currentUser == null);
function renderModal() {
return (
<>