From e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Mon, 16 Nov 2020 00:10:28 +0100 Subject: api, login, auth --- client/src/common/jsx/Info.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 client/src/common/jsx/Info.jsx (limited to 'client/src/common/jsx/Info.jsx') 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}) => ( +

+ { hover ? t(hover) : t(info) } +

+); + +export default Info; -- cgit v1.2.3