"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

/**
 * Find the DOM node for a `node`.
 *
 * @param {Node} node
 * @return {Element} el
 */

function findDOMNode(node) {
  return window.document.querySelector("[data-key=\"" + node.key + "\"]");
}

/**
 * Export.
 */

exports.default = findDOMNode;