{
return (
- {({ index, style }) => {
- const line = this.state.lines[index];
- return (
-
- {line.text}
-
- );
- }}
-
+ listRef={this.listRef}
+ overscanCount={30}
+ rowComponent={LogLineRow}
+ rowCount={this.state.lines.length}
+ rowProps={{ lines: this.state.lines }}
+ rowHeight={20}
+ style={{ height: this.state.height, width: this.state.width }}
+ />
);
}