Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_this._cellRenderer = function (_ref) {
var index = _ref.index,
key = _ref.key,
parent = _ref.parent,
style = _ref.style;
var _this$props = _this.props,
list = _this$props.list,
cellContent = _this$props.cellContent;
var columnWidth = _this.state.columnWidth;
var item = list[index];
return React.createElement(
_reactVirtualized.CellMeasurer,
{ cache: _this._cache, index: index, key: key, parent: parent },
cellContent({ style: style, columnWidth: columnWidth, item: item, index: index, key: key })
);
};