GoScrobble/web/node_modules/react-overlays/esm/ownerDocument.js

5 lines
216 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import ownerDocument from 'dom-helpers/ownerDocument';
import safeFindDOMNode from './safeFindDOMNode';
export default (function (componentOrElement) {
return ownerDocument(safeFindDOMNode(componentOrElement));
});