b913d0fe810726fb86319a077f79b9e8.json
996 Bytes
{"ast":null,"code":"import ReactDOM from 'react-dom';\n/**\n * Return if a node is a DOM node. Else will return by `findDOMNode`\n */\n\nexport default function findDOMNode(node) {\n if (node instanceof HTMLElement) {\n return node;\n }\n\n return ReactDOM.findDOMNode(node);\n}","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/rc-util/es/Dom/findDOMNode.js"],"names":["ReactDOM","findDOMNode","node","HTMLElement"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,WAArB;AACA;AACA;AACA;;AAEA,eAAe,SAASC,WAAT,CAAqBC,IAArB,EAA2B;AACxC,MAAIA,IAAI,YAAYC,WAApB,EAAiC;AAC/B,WAAOD,IAAP;AACD;;AAED,SAAOF,QAAQ,CAACC,WAAT,CAAqBC,IAArB,CAAP;AACD","sourcesContent":["import ReactDOM from 'react-dom';\n/**\n * Return if a node is a DOM node. Else will return by `findDOMNode`\n */\n\nexport default function findDOMNode(node) {\n if (node instanceof HTMLElement) {\n return node;\n }\n\n return ReactDOM.findDOMNode(node);\n}"]},"metadata":{},"sourceType":"module"}