mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 19:35:15 +00:00
5 lines
216 B
JavaScript
5 lines
216 B
JavaScript
import ownerDocument from 'dom-helpers/ownerDocument';
|
|
import safeFindDOMNode from './safeFindDOMNode';
|
|
export default (function (componentOrElement) {
|
|
return ownerDocument(safeFindDOMNode(componentOrElement));
|
|
}); |