diff options
author | 2020-12-06 23:49:13 +0100 | |
---|---|---|
committer | 2020-12-06 23:49:13 +0100 | |
commit | 4d642e312ed728ad51c454d1e2a0b7bb350fc174 (patch) | |
tree | e39b26a31b14fe34dced83669bf2844fa7c9752e /client/src/admin/jsx/layout/Info.jsx | |
parent | 88c2fa63eb8c3ade93914f77d427219b3233ca02 (diff) | |
download | website_creator-4d642e312ed728ad51c454d1e2a0b7bb350fc174.tar.gz website_creator-4d642e312ed728ad51c454d1e2a0b7bb350fc174.tar.bz2 website_creator-4d642e312ed728ad51c454d1e2a0b7bb350fc174.zip |
first creator page
Diffstat (limited to 'client/src/admin/jsx/layout/Info.jsx')
-rw-r--r-- | client/src/admin/jsx/layout/Info.jsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/admin/jsx/layout/Info.jsx b/client/src/admin/jsx/layout/Info.jsx new file mode 100644 index 0000000..0ea8686 --- /dev/null +++ b/client/src/admin/jsx/layout/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; |