timeline_hint.tsx 671 B

12345678910111213141516171819202122232425
  1. import { FormattedMessage } from 'react-intl';
  2. interface Props {
  3. resource: JSX.Element;
  4. url: string;
  5. }
  6. export const TimelineHint: React.FC<Props> = ({ resource, url }) => (
  7. <div className='timeline-hint'>
  8. <strong>
  9. <FormattedMessage
  10. id='timeline_hint.remote_resource_not_displayed'
  11. defaultMessage='{resource} from other servers are not displayed.'
  12. values={{ resource }}
  13. />
  14. </strong>
  15. <br />
  16. <a href={url} target='_blank' rel='noopener noreferrer'>
  17. <FormattedMessage
  18. id='account.browse_more_on_origin_server'
  19. defaultMessage='Browse more on the original profile'
  20. />
  21. </a>
  22. </div>
  23. );