diff --git a/src/uikit/Wizard.js b/src/uikit/Wizard.js
deleted file mode 100644
index 7737e543e..000000000
--- a/src/uikit/Wizard.js
+++ /dev/null
@@ -1,106 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import { compose, withHandlers, withPropsOnChange, withState } from 'recompose';
-import { withRouter } from 'react-router';
-
-import { trackPageView } from 'services/analyticsTracking';
-import Column from 'uikit/Column';
-
-import { Divider, Steps } from 'antd';
-
-const { Step } = Steps;
-
-const WizardProgress = ({ index, steps }) => {
- return (
-
-
- {steps.map(item => (
-
- ))}
-
-
-
- );
-};
-
-const Wizard = compose(
- withRouter,
- withState('index', 'setIndex', 0),
- withState('nextDisabled', 'setNextDisabled', false),
- withState('customStepMessage', 'setCustomStepMessage', null),
- withHandlers({
- nextStep: ({ index, setIndex, steps }) => event =>
- setIndex(index + 1 >= steps.length ? index : index + 1),
- prevStep: ({ index, setIndex, steps }) => event => setIndex(index - 1 < 0 ? index : index - 1),
- }),
- withPropsOnChange(['index'], ({ index, setIndex, steps, location }) => {
- trackPageView(`${location.pathname}#${steps[index].title.replace(/\s/g, '')}`);
- return {
- currentStep: steps[index] || { title: 'no step', Component: '--' },
- };
- }),
-)(
- ({
- steps,
- index,
- nextStep,
- prevStep,
- currentStep,
- setIndex,
- nextDisabled,
- setNextDisabled,
- customStepMessage,
- setCustomStepMessage,
- HeaderComponent,
- getContentClassName = () => '',
- }) => {
- const disableNextStep = setNextDisabled;
- const prevDisabled = index - 1 < 0 || !steps[index - 1].canGoBack;
- return (
-
-
- {HeaderComponent && }
-
-
-
- {currentStep.render
- ? currentStep.render({
- disableNextStep,
- customStepMessage,
- setCustomStepMessage,
- nextStep,
- prevStep,
- nextDisabled,
- prevDisabled,
- })
- : currentStep.Component}
-
-
- );
- },
-);
-
-Wizard.propTypes = {
- steps: PropTypes.arrayOf(
- PropTypes.shape({
- title: PropTypes.string.isRequired,
- canGoBack: PropTypes.bool.isRequired,
- Component: PropTypes.any,
- render: PropTypes.func,
- renderButtons: PropTypes.func,
- }),
- ),
- index: PropTypes.number.isRequired,
- setIndex: PropTypes.func.isRequired,
- currentStep: PropTypes.any.isRequired,
- nextStep: PropTypes.func.isRequired,
- prevStep: PropTypes.func.isRequired,
- nextDisabled: PropTypes.bool.isRequired,
- setNextDisabled: PropTypes.func.isRequired,
- customStepMessage: PropTypes.string.isRequired,
- setCustomStepMessage: PropTypes.func.isRequired,
- HeaderComponent: PropTypes.func.isRequired,
- getContentClassName: PropTypes.func.isRequired,
-};
-
-export default Wizard;