UNPKG

368 BJavaScriptView Raw
1import * as React from 'react';
2import { generateTrigger } from "./index";
3
4var 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
15export default generateTrigger(MockPortal);
\No newline at end of file