UNPKG

539 BJavaScriptView Raw
1"use strict";
2
3var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
5exports.__esModule = true;
6exports["default"] = void 0;
7
8var _ownerDocument = _interopRequireDefault(require("dom-helpers/ownerDocument"));
9
10var _safeFindDOMNode = _interopRequireDefault(require("./safeFindDOMNode"));
11
12var _default = function _default(componentOrElement) {
13 return (0, _ownerDocument["default"])((0, _safeFindDOMNode["default"])(componentOrElement));
14};
15
16exports["default"] = _default;
17module.exports = exports.default;
\No newline at end of file