summaryrefslogtreecommitdiffstats
path: root/client/src/common/jsx/Info.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/common/jsx/Info.jsx')
-rw-r--r--client/src/common/jsx/Info.jsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/common/jsx/Info.jsx b/client/src/common/jsx/Info.jsx
new file mode 100644
index 0000000..00d04b3
--- /dev/null
+++ b/client/src/common/jsx/Info.jsx
@@ -0,0 +1,9 @@
+import React from 'react';
+
+const Info = ({info, hover, t}) => (
+ <p className="info">
+ { hover ? t(hover) : t(info) }
+ </p>
+);
+
+export default Info;