import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import { withUnstatedContainers } from './UnstatedUtils'; import AppContainer from '../services/AppContainer'; const ShareLinkList = (props) => { function deleteLinkHandler(shareLinkId) { if (props.onClickDeleteButton == null) { return; } props.onClickDeleteButton(shareLinkId); } function renderShareLinks() { return ( <> {props.shareLinks.map(shareLink => (
| Link | Expiration | Description | Order |
|---|