1 | import * as React from 'react';
|
2 | import { generateTrigger } from "./index";
|
3 |
|
4 | var MockPortal = function MockPortal(_ref) {
|
5 | var didUpdate = _ref.didUpdate,
|
6 | children = _ref.children,
|
7 | getContainer = _ref.getContainer;
|
8 | React.useEffect(function () {
|
9 | didUpdate();
|
10 | getContainer();
|
11 | });
|
12 | return children;
|
13 | };
|
14 |
|
15 | export default generateTrigger(MockPortal); |
\ | No newline at end of file |