1 | "use strict";
|
2 |
|
3 | var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
4 |
|
5 | Object.defineProperty(exports, "__esModule", {
|
6 | value: true
|
7 | });
|
8 | exports.default = void 0;
|
9 |
|
10 | var React = _interopRequireWildcard(require("react"));
|
11 |
|
12 | var _index = require("./index");
|
13 |
|
14 | var MockPortal = function MockPortal(_ref) {
|
15 | var didUpdate = _ref.didUpdate,
|
16 | children = _ref.children,
|
17 | getContainer = _ref.getContainer;
|
18 | React.useEffect(function () {
|
19 | didUpdate();
|
20 | getContainer();
|
21 | });
|
22 | return children;
|
23 | };
|
24 |
|
25 | var _default = (0, _index.generateTrigger)(MockPortal);
|
26 |
|
27 | exports.default = _default; |
\ | No newline at end of file |