"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getMountContainer = getMountContainer;

var _isFunction = _interopRequireDefault(require("lodash/isFunction"));

function getMountContainer(mountContainer) {
  var container = (0, _isFunction.default)(mountContainer) ? mountContainer() : mountContainer;
  return container || document.body;
}