Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions
+12
View File
@@ -0,0 +1,12 @@
import ReactDOM from 'react-dom';
/**
* Return if a node is a DOM node. Else will return by `findDOMNode`
*/
export default function findDOMNode(node) {
if (node instanceof HTMLElement) {
return node;
}
return ReactDOM.findDOMNode(node);
}