From 4a9cf28660ed3b7e02952d02035978d1d4ad3e7e Mon Sep 17 00:00:00 2001
From: Piotr Russ <mail@pruss.it>
Date: Wed, 9 Dec 2020 23:26:30 +0100
Subject: add creator 2nd step & onKeyPress helper

---
 client/src/admin/jsx/creator/Step2.jsx | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 client/src/admin/jsx/creator/Step2.jsx

(limited to 'client/src/admin/jsx/creator/Step2.jsx')

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;
-- 
cgit v1.2.3

