"use strict";

exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _loader = _interopRequireDefault(require("../../atom/loader"));
var _player = _interopRequireDefault(require("./player"));
var _propTypes = _interopRequireDefault(require("./prop-types"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const AppReview = ({
  viewName,
  slides
}) => {
  switch (viewName) {
    case 'slides':
      return /*#__PURE__*/_react.default.createElement(_player.default, slides);
    default:
      return /*#__PURE__*/_react.default.createElement(_loader.default, null);
  }
};
AppReview.propTypes = process.env.NODE_ENV !== "production" ? _propTypes.default : {};
var _default = exports.default = AppReview;
//# sourceMappingURL=index.js.map