import React from 'react';
import { observer } from 'mobx-react-lite';
import { TabPage, Content, ThemeWrap } from '@choerodon/boot';
import { inject } from 'mobx-react';
import CodeManagerHeader from "../../header";
import CodeManagerToolBar, { SelectApp } from "../../tool-bar";
import MergeRequest from "../../contents/merge-request";
import { map } from "../themeMapItemPage";
import "../index.less";
var CodeManagerMergeRequest = inject('AppState')(observer(function (props) {
  return /*#__PURE__*/React.createElement(TabPage, null, /*#__PURE__*/React.createElement(CodeManagerToolBar, {
    name: "CodeManagerMergeRequest"
  }), /*#__PURE__*/React.createElement(ThemeWrap, {
    map: map
  }, /*#__PURE__*/React.createElement(CodeManagerHeader, null)), props.AppState.getCurrentTheme === '' && /*#__PURE__*/React.createElement(SelectApp, null), /*#__PURE__*/React.createElement(MergeRequest, null));
}));
export default CodeManagerMergeRequest;