diff options
author | 2020-11-16 00:10:28 +0100 | |
---|---|---|
committer | 2020-11-16 00:10:28 +0100 | |
commit | e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d (patch) | |
tree | 55713f725f77b44ebfec86e4eec3ce33e71458ca /client/src/common/jsx/Info.jsx | |
download | website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.gz website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.tar.bz2 website_creator-e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d.zip |
api, login, auth
Diffstat (limited to 'client/src/common/jsx/Info.jsx')
-rw-r--r-- | client/src/common/jsx/Info.jsx | 9 |
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; |