5163bd789f7b4228cea31d99ddae4092.json
1.24 KB
{"ast":null,"code":"import * as React from 'react';\nexport function Item(_ref) {\n var children = _ref.children,\n setRef = _ref.setRef;\n var refFunc = React.useCallback(function (node) {\n setRef(node);\n }, []);\n return /*#__PURE__*/React.cloneElement(children, {\n ref: refFunc\n });\n}","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/rc-virtual-list/es/Item.js"],"names":["React","Item","_ref","children","setRef","refFunc","useCallback","node","cloneElement","ref"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,SAASC,IAAT,CAAcC,IAAd,EAAoB;AACzB,MAAIC,QAAQ,GAAGD,IAAI,CAACC,QAApB;AAAA,MACIC,MAAM,GAAGF,IAAI,CAACE,MADlB;AAEA,MAAIC,OAAO,GAAGL,KAAK,CAACM,WAAN,CAAkB,UAAUC,IAAV,EAAgB;AAC9CH,IAAAA,MAAM,CAACG,IAAD,CAAN;AACD,GAFa,EAEX,EAFW,CAAd;AAGA,SAAO,aAAaP,KAAK,CAACQ,YAAN,CAAmBL,QAAnB,EAA6B;AAC/CM,IAAAA,GAAG,EAAEJ;AAD0C,GAA7B,CAApB;AAGD","sourcesContent":["import * as React from 'react';\nexport function Item(_ref) {\n var children = _ref.children,\n setRef = _ref.setRef;\n var refFunc = React.useCallback(function (node) {\n setRef(node);\n }, []);\n return /*#__PURE__*/React.cloneElement(children, {\n ref: refFunc\n });\n}"]},"metadata":{},"sourceType":"module"}