"use strict";

function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.WithFeedbackWidgetMode = exports.WithCustomBackdropPxpy = exports.WithCustomBackdropPadding = exports.WithCircularHighlightSurroundingLongElement = exports.WithCircularBackdrop = exports.WithBarColor = exports.OverrideStep = exports.MultpipleSteps = exports.MobileBottomSheet = exports.DefaultStory = void 0;
var _react = _interopRequireWildcard(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _addonActions = require("@storybook/addon-actions");
var _ = require("../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
var MockItem = _styledComponents.default.div.withConfig({
  displayName: "CoachMarksstories__MockItem",
  componentId: "sc-e7l98d-0"
})(["padding:", "px;border:1px solid ", ";"], function (p) {
  return p.theme.spacing.unit(5);
}, function (p) {
  return p.theme.color.positive;
});
var _default = exports.default = {
  title: 'Molecules / CoachMarks',
  parameters: {
    component: _.CoachMarks
  }
};
var DefaultStory = exports.DefaultStory = {
  render: function render() {
    var Example = function Example() {
      var _useState = (0, _react.useState)(true),
        _useState2 = _slicedToArray(_useState, 2),
        activeGuide = _useState2[0],
        setActiveGuide = _useState2[1];
      var _useState3 = (0, _react.useState)(null),
        _useState4 = _slicedToArray(_useState3, 2),
        referenceElement = _useState4[0],
        setReferenceElement = _useState4[1];
      return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setActiveGuide(true);
        }
      }, "Start guide"), _react.default.createElement(_.Box, {
        py: 5
      }, _react.default.createElement(_.Flexbox, {
        container: true,
        justifyContent: "space-between"
      }, _react.default.createElement(_.Flexbox, {
        item: true
      }, _react.default.createElement(MockItem, {
        ref: setReferenceElement
      }, "New feature"))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
        onClose: function onClose() {
          return setActiveGuide(false);
        },
        onDone: function onDone() {
          return setActiveGuide(false);
        },
        onNext: (0, _addonActions.action)('next'),
        onPrev: (0, _addonActions.action)('previous'),
        steps: [{
          referenceElement: referenceElement,
          icon: _react.default.createElement(_.Icon.Bank32, null),
          title: 'New feature',
          content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
          placement: 'bottom'
        }]
      }));
    };
    return _react.default.createElement(Example, null);
  },
  name: 'Default'
};
var WithCustomBackdropPadding = exports.WithCustomBackdropPadding = {
  render: function render() {
    var Example = function Example() {
      var _useState5 = (0, _react.useState)(true),
        _useState6 = _slicedToArray(_useState5, 2),
        activeGuide = _useState6[0],
        setActiveGuide = _useState6[1];
      var _useState7 = (0, _react.useState)(null),
        _useState8 = _slicedToArray(_useState7, 2),
        referenceElement = _useState8[0],
        setReferenceElement = _useState8[1];
      return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setActiveGuide(true);
        }
      }, "Start guide"), _react.default.createElement(_.Box, {
        py: 5,
        pl: 5
      }, _react.default.createElement(_.Flexbox, {
        container: true,
        justifyContent: "space-between"
      }, _react.default.createElement(_.Flexbox, {
        item: true
      }, _react.default.createElement(MockItem, {
        ref: setReferenceElement
      }, "New feature"))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
        onClose: function onClose() {
          return setActiveGuide(false);
        },
        onDone: function onDone() {
          return setActiveGuide(false);
        },
        onNext: (0, _addonActions.action)('next'),
        onPrev: (0, _addonActions.action)('previous'),
        steps: [{
          referenceElement: referenceElement,
          icon: _react.default.createElement(_.Icon.Bank32, null),
          title: 'New feature',
          content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
          placement: 'bottom',
          backdropPadding: '20'
        }]
      }));
    };
    return _react.default.createElement(Example, null);
  },
  name: 'With custom backdrop padding'
};
var WithCustomBackdropPxpy = exports.WithCustomBackdropPxpy = {
  render: function render() {
    var Example = function Example() {
      var _useState9 = (0, _react.useState)(true),
        _useState10 = _slicedToArray(_useState9, 2),
        activeGuide = _useState10[0],
        setActiveGuide = _useState10[1];
      var _useState11 = (0, _react.useState)(null),
        _useState12 = _slicedToArray(_useState11, 2),
        referenceElement = _useState12[0],
        setReferenceElement = _useState12[1];
      return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setActiveGuide(true);
        }
      }, "Start guide"), _react.default.createElement(_.Box, {
        py: 5,
        pl: 5
      }, _react.default.createElement(_.Flexbox, {
        container: true,
        justifyContent: "space-between"
      }, _react.default.createElement(_.Flexbox, {
        item: true
      }, _react.default.createElement(MockItem, {
        ref: setReferenceElement
      }, "New feature"))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
        onClose: function onClose() {
          return setActiveGuide(false);
        },
        onDone: function onDone() {
          return setActiveGuide(false);
        },
        onNext: (0, _addonActions.action)('next'),
        onPrev: (0, _addonActions.action)('previous'),
        steps: [{
          referenceElement: referenceElement,
          icon: _react.default.createElement(_.Icon.Bank32, null),
          title: 'New feature',
          content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
          placement: 'bottom',
          px: '10',
          py: '50'
        }]
      }));
    };
    return _react.default.createElement(Example, null);
  },
  name: 'With custom horizontal and vertical backdrop padding'
};
var WithCircularBackdrop = exports.WithCircularBackdrop = {
  render: function render() {
    var Example = function Example() {
      var _useState13 = (0, _react.useState)(true),
        _useState14 = _slicedToArray(_useState13, 2),
        activeGuide = _useState14[0],
        setActiveGuide = _useState14[1];
      var _useState15 = (0, _react.useState)(null),
        _useState16 = _slicedToArray(_useState15, 2),
        referenceElement = _useState16[0],
        setReferenceElement = _useState16[1];
      return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setActiveGuide(true);
        }
      }, "Start guide"), _react.default.createElement(_.Box, {
        py: 10,
        pl: 25
      }, _react.default.createElement(_.Flexbox, {
        container: true,
        justifyContent: "space-between"
      }, _react.default.createElement(_.Flexbox, {
        item: true
      }, _react.default.createElement("div", {
        ref: setReferenceElement
      }, _react.default.createElement(_.Icon.More24, null)))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
        onClose: function onClose() {
          return setActiveGuide(false);
        },
        onDone: function onDone() {
          return setActiveGuide(false);
        },
        onNext: (0, _addonActions.action)('next'),
        onPrev: (0, _addonActions.action)('previous'),
        steps: [{
          referenceElement: referenceElement,
          icon: _react.default.createElement(_.Icon.Bank32, null),
          title: 'New feature',
          content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
          placement: 'bottom',
          isCircular: true,
          backdropPadding: '30'
        }]
      }));
    };
    return _react.default.createElement(Example, null);
  },
  name: 'With circular backdrop'
};
var WithCircularHighlightSurroundingLongElement = exports.WithCircularHighlightSurroundingLongElement = {
  render: function render() {
    var Example = function Example() {
      var _useState17 = (0, _react.useState)(true),
        _useState18 = _slicedToArray(_useState17, 2),
        activeGuide = _useState18[0],
        setActiveGuide = _useState18[1];
      var _useState19 = (0, _react.useState)(null),
        _useState20 = _slicedToArray(_useState19, 2),
        referenceElement = _useState20[0],
        setReferenceElement = _useState20[1];
      return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setActiveGuide(true);
        }
      }, "Start guide"), _react.default.createElement(_.Box, {
        py: 10,
        pl: 55
      }, _react.default.createElement(_.Flexbox, {
        container: true,
        justifyContent: "space-between"
      }, _react.default.createElement(_.Flexbox, {
        item: true
      }, _react.default.createElement("div", {
        ref: setReferenceElement
      }, _react.default.createElement(_.Box, {
        style: {
          width: 100,
          height: 350
        },
        backgroundColor: function backgroundColor(t) {
          return t.color.cta;
        }
      })))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
        onClose: function onClose() {
          return setActiveGuide(false);
        },
        onDone: function onDone() {
          return setActiveGuide(false);
        },
        onNext: (0, _addonActions.action)('next'),
        onPrev: (0, _addonActions.action)('previous'),
        steps: [{
          referenceElement: referenceElement,
          icon: _react.default.createElement(_.Icon.Bank32, null),
          title: 'New feature',
          content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
          placement: 'bottom',
          isCircular: true,
          backdropPadding: '30'
        }]
      }));
    };
    return _react.default.createElement(Example, null);
  },
  name: 'With long element and circular highlight'
};
var MultpipleStepsExample = function MultpipleStepsExample() {
  var _useState21 = (0, _react.useState)(true),
    _useState22 = _slicedToArray(_useState21, 2),
    activeGuide = _useState22[0],
    setActiveGuide = _useState22[1];
  var _useState23 = (0, _react.useState)(null),
    _useState24 = _slicedToArray(_useState23, 2),
    referenceElement1 = _useState24[0],
    setReferenceElement1 = _useState24[1];
  var _useState25 = (0, _react.useState)(null),
    _useState26 = _slicedToArray(_useState25, 2),
    referenceElement2 = _useState26[0],
    setReferenceElement2 = _useState26[1];
  var _useState27 = (0, _react.useState)(null),
    _useState28 = _slicedToArray(_useState27, 2),
    referenceElement3 = _useState28[0],
    setReferenceElement3 = _useState28[1];
  var _useState29 = (0, _react.useState)(null),
    _useState30 = _slicedToArray(_useState29, 2),
    referenceElement4 = _useState30[0],
    setReferenceElement4 = _useState30[1];
  return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
    onClick: function onClick() {
      return setActiveGuide(true);
    }
  }, "Start guide"), _react.default.createElement(_.Box, {
    py: 5
  }, _react.default.createElement(_.Flexbox, {
    container: true,
    justifyContent: "space-between"
  }, _react.default.createElement(_.Flexbox, {
    item: true
  }, _react.default.createElement(MockItem, {
    ref: setReferenceElement1
  }, "New feature")), _react.default.createElement(_.Flexbox, {
    item: true
  }, _react.default.createElement(MockItem, {
    ref: setReferenceElement2
  }, "Another new feature")))), _react.default.createElement(_.Box, {
    py: 5
  }, _react.default.createElement(_.Flexbox, {
    container: true,
    justifyContent: "space-between"
  }, _react.default.createElement(_.Flexbox, {
    item: true
  }, _react.default.createElement(MockItem, {
    ref: setReferenceElement3
  }, "New feature")))), _react.default.createElement(_.Box, {
    py: 5
  }, _react.default.createElement(_.Flexbox, {
    container: true,
    justifyContent: "space-between"
  }, _react.default.createElement(_.Flexbox, {
    item: true
  }, _react.default.createElement(MockItem, {
    ref: setReferenceElement4
  }, "Another new feature"))))), referenceElement1 && referenceElement2 && referenceElement3 && referenceElement4 && activeGuide && _react.default.createElement(_.CoachMarks, {
    bottomSheet: true,
    onClose: function onClose() {
      return setActiveGuide(false);
    },
    onDone: function onDone() {
      return setActiveGuide(false);
    },
    onNext: (0, _addonActions.action)('next'),
    onPrev: (0, _addonActions.action)('previous'),
    steps: [{
      referenceElement: referenceElement1,
      icon: _react.default.createElement(_.Icon.Bank32, null),
      title: 'New feature',
      content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
      placement: 'right'
    }, {
      referenceElement: referenceElement2,
      title: 'Another new feature',
      content: _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Typography, {
        as: "p",
        type: "secondary",
        color: "inherit"
      }, "Lorem ipsum dolor sit amet"), _react.default.createElement(_.Typography, {
        as: "p",
        type: "secondary",
        color: "inherit"
      }, "Consectetur adipiscing elit")),
      placement: 'left'
    }, {
      referenceElement: referenceElement3,
      title: 'New feature',
      content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
      placement: 'bottom',
      isCircular: true,
      backdropPadding: '30'
    }, {
      referenceElement: referenceElement4,
      title: 'New feature',
      content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit',
      placement: 'top',
      backdropPadding: '30'
    }]
  }));
};
var MultpipleSteps = exports.MultpipleSteps = {
  render: function render() {
    return _react.default.createElement(MultpipleStepsExample, null);
  }
};
var WithBarColor = exports.WithBarColor = {
  render: function render() {
    var Example = function Example() {
      var _useState31 = (0, _react.useState)(true),
        _useState32 = _slicedToArray(_useState31, 2),
        activeGuide = _useState32[0],
        setActiveGuide = _useState32[1];
      var _useState33 = (0, _react.useState)(null),
        _useState34 = _slicedToArray(_useState33, 2),
        referenceElement = _useState34[0],
        setReferenceElement = _useState34[1];
      return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setActiveGuide(true);
        }
      }, "Start guide"), _react.default.createElement(_.Box, {
        py: 5
      }, _react.default.createElement(_.Flexbox, {
        container: true,
        justifyContent: "space-between"
      }, _react.default.createElement(_.Flexbox, {
        item: true
      }, _react.default.createElement(MockItem, {
        ref: setReferenceElement
      }, "New feature"))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
        barColor: function barColor(t) {
          return t.color.buy;
        },
        onClose: function onClose() {
          return setActiveGuide(false);
        },
        onDone: function onDone() {
          return setActiveGuide(false);
        },
        onNext: (0, _addonActions.action)('next'),
        onPrev: (0, _addonActions.action)('previous'),
        steps: [{
          referenceElement: referenceElement,
          icon: _react.default.createElement(_.Icon.Bank32, null),
          title: 'New feature',
          content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
          placement: 'right'
        }]
      }));
    };
    return _react.default.createElement(Example, null);
  },
  name: 'With bar color'
};
var WithFeedbackWidgetMode = exports.WithFeedbackWidgetMode = {
  render: function render() {
    var Example = function Example() {
      var _useState35 = (0, _react.useState)(true),
        _useState36 = _slicedToArray(_useState35, 2),
        activeGuide = _useState36[0],
        setActiveGuide = _useState36[1];
      return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setActiveGuide(true);
        }
      }, "Start guide"), activeGuide && _react.default.createElement(_.CoachMarks, {
        barColor: function barColor(t) {
          return t.color.buy;
        },
        onClose: function onClose() {
          return setActiveGuide(false);
        },
        onDone: function onDone() {
          return setActiveGuide(false);
        },
        onNext: (0, _addonActions.action)('next'),
        onPrev: (0, _addonActions.action)('previous'),
        feedbackWidgetMode: true,
        steps: [{
          icon: _react.default.createElement(_.Icon.Bank32, null),
          title: 'New feature',
          content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
          placement: 'right'
        }]
      }));
    };
    return _react.default.createElement(Example, null);
  },
  name: 'With feedback Widget mode'
};
var MobileBottomSheetExample = function MobileBottomSheetExample() {
  var _useState37 = (0, _react.useState)(true),
    _useState38 = _slicedToArray(_useState37, 2),
    activeGuide = _useState38[0],
    setActiveGuide = _useState38[1];
  var _useState39 = (0, _react.useState)(null),
    _useState40 = _slicedToArray(_useState39, 2),
    referenceElement = _useState40[0],
    setReferenceElement = _useState40[1];
  return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
    onClick: function onClick() {
      return setActiveGuide(true);
    }
  }, "Start guide"), _react.default.createElement(_.Box, {
    py: 5
  }, _react.default.createElement(_.Flexbox, {
    container: true,
    justifyContent: "space-between"
  }, _react.default.createElement(_.Flexbox, {
    item: true
  }, _react.default.createElement(MockItem, {
    ref: setReferenceElement
  }, "New feature"))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
    bottomSheet: true,
    onClose: function onClose() {
      return setActiveGuide(false);
    },
    onDone: function onDone() {
      return setActiveGuide(false);
    },
    onNext: (0, _addonActions.action)('next'),
    onPrev: (0, _addonActions.action)('previous'),
    steps: [{
      referenceElement: referenceElement,
      icon: _react.default.createElement(_.Icon.Bank32, null),
      title: 'New feature',
      content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
      placement: 'bottom'
    }]
  }));
};
var MobileBottomSheet = exports.MobileBottomSheet = {
  render: function render() {
    return _react.default.createElement(MobileBottomSheetExample, null);
  },
  parameters: {
    viewport: {
      defaultViewport: 'iphone12'
    }
  }
};
var OverrideStepExample = function OverrideStepExample() {
  var _useState41 = (0, _react.useState)(0),
    _useState42 = _slicedToArray(_useState41, 2),
    currentStep = _useState42[0],
    setCurrentStep = _useState42[1];
  var _useState43 = (0, _react.useState)(true),
    _useState44 = _slicedToArray(_useState43, 2),
    activeGuide = _useState44[0],
    setActiveGuide = _useState44[1];
  var _useState45 = (0, _react.useState)(null),
    _useState46 = _slicedToArray(_useState45, 2),
    referenceElement = _useState46[0],
    setReferenceElement = _useState46[1];
  var handleNext = function handleNext(step) {
    setCurrentStep(step + 1);
  };
  var handlePrev = function handlePrev(step) {
    setCurrentStep(step - 1);
  };
  return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Card, null, _react.default.createElement(_.Button, {
    onClick: function onClick() {
      return setActiveGuide(true);
    }
  }, "Start guide"), _react.default.createElement(_.Box, {
    py: 5
  }, _react.default.createElement(_.Flexbox, {
    container: true,
    justifyContent: "space-between"
  }, _react.default.createElement(_.Flexbox, {
    item: true
  }, _react.default.createElement(MockItem, {
    ref: setReferenceElement
  }, "New feature"))))), referenceElement && activeGuide && _react.default.createElement(_.CoachMarks, {
    bottomSheet: true,
    overrideStep: currentStep,
    onNext: handleNext,
    onPrev: handlePrev,
    steps: [{
      referenceElement: referenceElement,
      icon: _react.default.createElement(_.Icon.Bank32, null),
      title: 'Step 1',
      content: _react.default.createElement("div", null, "Click the button if youre too smart for steps 1-3.", _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setCurrentStep(3);
        }
      }, "Skip")),
      placement: 'bottom'
    }, {
      referenceElement: referenceElement,
      icon: _react.default.createElement(_.Icon.Bank32, null),
      title: 'Step 2',
      content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
      placement: 'bottom'
    }, {
      referenceElement: referenceElement,
      icon: _react.default.createElement(_.Icon.Bank32, null),
      title: 'Step 3',
      content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
      placement: 'bottom'
    }, {
      referenceElement: referenceElement,
      icon: _react.default.createElement(_.Icon.Bank32, null),
      title: 'Step 4',
      content: _react.default.createElement("div", null, "Click the button to go to step 2", _react.default.createElement(_.Button, {
        onClick: function onClick() {
          return setCurrentStep(1);
        }
      }, "Go back")),
      placement: 'bottom'
    }]
  }));
};
var OverrideStep = exports.OverrideStep = {
  render: function render() {
    return _react.default.createElement(OverrideStepExample, null);
  }
};