summaryrefslogtreecommitdiffstats
path: root/client/src/admin/jsx/creator/Step2.jsx
blob: d8ce0097e94eafcce241ce9bd64f04bf4b7d178b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;