{
const { className, renderItem, renderLoader, rowCount } = this.props;
const { numRenderRows } = this.state;
return (
- {
this.ref = ref;
}}
+ role="list"
className={className}
>
{times(numRenderRows, i => renderItem(i))}
{numRenderRows < rowCount && renderLoader()}
-
+
);
}
}