{"size": 619, "ext": "js", "max_stars_repo_path": "node_modules/rc-trigger/lib/mock.js", "max_stars_repo_name": "dillonthompson/dillonthompson.github.io", "max_stars_repo_stars_event_min_datetime": "2021-01-19T16:48:22.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-18T16:55:52.000Z", "max_issues_repo_path": "node_modules/rc-trigger/lib/mock.js", "max_issues_repo_name": "dillonthompson/dillonthompson.github.io", "max_issues_repo_issues_event_min_datetime": "2020-11-27T16:32:40.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-13T19:22:26.000Z", "max_forks_repo_path": "node_modules/rc-trigger/lib/mock.js", "max_forks_repo_name": "dillonthompson/dillonthompson.github.io", "max_forks_repo_forks_event_min_datetime": "2020-11-20T19:57:12.000Z", "max_forks_repo_forks_event_max_datetime": "2021-02-07T03:10:20.000Z"}
{"max_stars_count": 10, "max_issues_count": 9, "max_forks_count": 8, "avg_line_length": 22.9259259259, "max_line_length": 87, "alphanum_fraction": 0.7140549273}
"use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

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

var React = _interopRequireWildcard(require("react"));

var _index = require("./index");

var MockPortal = function MockPortal(_ref) {
  var didUpdate = _ref.didUpdate,
      children = _ref.children,
      getContainer = _ref.getContainer;
  React.useEffect(function () {
    didUpdate();
    getContainer();
  });
  return children;
};

var _default = (0, _index.generateTrigger)(MockPortal);

exports.default = _default;