From 9a641a5a0e7a8d45bf6d3b8e4bfdc269def2dc06 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 14 Jun 2020 22:29:40 +0200 Subject: [Glitch] Add hints about incomplete remote content to web UI Port 3e9dc4044bb7e1ef6131fbd6430ed85b3cc2fcfa to glitch-soc Signed-off-by: Thibaut Girka --- .../flavours/glitch/components/timeline_hint.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/javascript/flavours/glitch/components/timeline_hint.js (limited to 'app/javascript/flavours/glitch/components/timeline_hint.js') diff --git a/app/javascript/flavours/glitch/components/timeline_hint.js b/app/javascript/flavours/glitch/components/timeline_hint.js new file mode 100644 index 000000000..fb55a62cc --- /dev/null +++ b/app/javascript/flavours/glitch/components/timeline_hint.js @@ -0,0 +1,18 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import { FormattedMessage } from 'react-intl'; + +const TimelineHint = ({ resource, url }) => ( +
+ +
+ +
+); + +TimelineHint.propTypes = { + resource: PropTypes.node.isRequired, + url: PropTypes.string.isRequired, +}; + +export default TimelineHint; -- cgit