From 1870f3fdf43707a15fda0f609a021f516f45eb63 Mon Sep 17 00:00:00 2001
From: Piotr Russ <mail@pruss.it>
Date: Wed, 18 Nov 2020 23:15:38 +0100
Subject: finish auth routes, create cookie token, fix folder structure, add
 context to FE

---
 client/src/admin/jsx/Info.jsx | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 client/src/admin/jsx/Info.jsx

(limited to 'client/src/admin/jsx/Info.jsx')

diff --git a/client/src/admin/jsx/Info.jsx b/client/src/admin/jsx/Info.jsx
new file mode 100644
index 0000000..75294e1
--- /dev/null
+++ b/client/src/admin/jsx/Info.jsx
@@ -0,0 +1,10 @@
+import React from 'react';
+import { t } from '../hocs';
+
+const Info = ({ info, hover }) => (
+  <p className="info">
+    { hover ? t(hover) : t(info) }
+  </p>
+);
+
+export default Info;
-- 
cgit v1.2.3

