UNPKG

react-overlays

Version:

Utilities for creating robust overlay components

5 lines 216 B
import ownerDocument from 'dom-helpers/ownerDocument'; import safeFindDOMNode from './safeFindDOMNode'; export default (function (componentOrElement) { return ownerDocument(safeFindDOMNode(componentOrElement)); });