import React from "react";
import Desktop from "./components/Desktop";
import Mobile from "./components/Mobile";
import Pad from "./components/Pad";
import styles from "./index.module.less";

var DesignArea = function DesignArea(_ref) {
  var previewDevice = _ref.previewDevice;
  return /*#__PURE__*/React.createElement("div", {
    className: styles.wrap
  }, (previewDevice === 'PC' || !previewDevice) && /*#__PURE__*/React.createElement(Desktop, null), previewDevice === 'Mobile' && /*#__PURE__*/React.createElement(Mobile, null), previewDevice === 'Pad' && /*#__PURE__*/React.createElement(Pad, null));
};

export default /*#__PURE__*/React.memo(DesignArea);
//# sourceMappingURL=index.js.map