diff options
author | 2020-12-09 23:26:30 +0100 | |
---|---|---|
committer | 2020-12-09 23:26:30 +0100 | |
commit | 4a9cf28660ed3b7e02952d02035978d1d4ad3e7e (patch) | |
tree | a707bcf5a44095fab89242ab8f0ae1cdc0c331cf /client/src/admin/jsx/creator/Step2.jsx | |
parent | 4d642e312ed728ad51c454d1e2a0b7bb350fc174 (diff) | |
download | website_creator-main.tar.gz website_creator-main.tar.bz2 website_creator-main.zip |
add creator 2nd step & onKeyPress helpermain
Diffstat (limited to 'client/src/admin/jsx/creator/Step2.jsx')
-rw-r--r-- | client/src/admin/jsx/creator/Step2.jsx | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/client/src/admin/jsx/creator/Step2.jsx b/client/src/admin/jsx/creator/Step2.jsx new file mode 100644 index 0000000..d8ce009 --- /dev/null +++ b/client/src/admin/jsx/creator/Step2.jsx @@ -0,0 +1,32 @@ +import React from 'react'; +import { WithHover, t } from '../../hocs'; + +const Step2 = ({ setStep, data, setData }) => { + console.log(data) + const isNextActive = () => {} + const handleNext = () => {} + + return ( + <div className="creator"> + <div className="creator__header">{ t('website-sections') }</div> + + <div className="creator__btns"> + <WithHover message="creator-cancel-hover"> + <div onClick={() => setStep('step1')} className="creator__btns-cancel"> + {t('back')} + </div> + </WithHover> + <WithHover message="creator-next-hover"> + <div + className={`creator__btns-next ${isNextActive}`} + onClick={handleNext} + > + {t('next')} + </div> + </WithHover> + </div> + </div> + ) +} + +export default Step2; |