You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
683 B

  1. import React from 'react';
  2. import PropTypes from 'prop-types';
  3. import { FormattedMessage } from 'react-intl';
  4. const TimelineHint = ({ resource, url }) => (
  5. <div className='timeline-hint'>
  6. <strong><FormattedMessage id='timeline_hint.remote_resource_not_displayed' defaultMessage='{resource} from other servers are not displayed.' values={{ resource }} /></strong>
  7. <br />
  8. <a href={url} target='_blank'><FormattedMessage id='account.browse_more_on_origin_server' defaultMessage='Browse more on the original profile' /></a>
  9. </div>
  10. );
  11. TimelineHint.propTypes = {
  12. resource: PropTypes.node.isRequired,
  13. url: PropTypes.string.isRequired,
  14. };
  15. export default TimelineHint;