import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import dateFnsFormat from 'date-fns/format'; import { withUnstatedContainers } from './UnstatedUtils'; import AppContainer from '../services/AppContainer'; import CopyDropdown from './Page/CopyDropdown'; const ShareLinkList = (props) => { const { t } = props; function deleteLinkHandler(shareLinkId) { if (props.onClickDeleteButton == null) { return; } props.onClickDeleteButton(shareLinkId); } function renderShareLinks() { return ( <> {props.shareLinks.map(shareLink => (
| {t('share_links.Share Link')} | {props.isAdmin &&{t('share_links.Page Path')} | }{t('share_links.expire')} | {t('share_links.description')} |
|---|