]>
cat aescling's git repositories - mastodon.git/blob - app/javascript/mastodon/components/timeline_hint.js
1 import React
from 'react' ;
2 import PropTypes
from 'prop-types' ;
3 import { FormattedMessage
} from 'react-intl' ;
5 const TimelineHint
= ({ resource
, url
}) => (
6 < div className
= 'timeline-hint' >
7 < strong
>< FormattedMessage id
= 'timeline_hint.remote_resource_not_displayed' defaultMessage
= '{resource} from other servers are not displayed.' values
={{ resource
}} /></s trong>
9 < a href
={ url
} target
= '_blank' >< FormattedMessage id
= 'account.browse_more_on_origin_server' defaultMessage
= 'Browse more on the original profile' /></a >
13 TimelineHint
. propTypes
= {
14 resource : PropTypes
. node
. isRequired
,
15 url : PropTypes
. string
. isRequired
,
18 export default TimelineHint
;
This page took 0.072035 seconds and 4 git commands to generate.