import React from 'react';
import Loader from '../../atom/loader';
import Player from './player';
import propTypes from './prop-types';
const AppReview = ({
  viewName,
  slides
}) => {
  switch (viewName) {
    case 'slides':
      return /*#__PURE__*/React.createElement(Player, slides);
    default:
      return /*#__PURE__*/React.createElement(Loader, null);
  }
};
AppReview.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
export default AppReview;
//# sourceMappingURL=index.js.map