You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
InternshipProject/node_modules/rc-virtual-list/es/Item.js

11 lines
278 B

import * as React from 'react';
export function Item(_ref) {
var children = _ref.children,
setRef = _ref.setRef;
var refFunc = React.useCallback(function (node) {
setRef(node);
}, []);
return /*#__PURE__*/React.cloneElement(children, {
ref: refFunc
});
}