Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_customRenderer({ row, stylesheet, useInlineStyles }, { index, key, style }){
let _el = createElement({
node: row,
stylesheet,
style,
useInlineStyles,
key
});
return <span style="{{cursor:'pointer'}}"> this.props.act_toggleEditorLine(index+1)}>
{this.props.fileComments[`l${index+1}`] && <div>{this.props.fileComments[`l${index+1}`]}</div>}
{_el}
</span>;
}
function rowRenderer({ rows, stylesheet, useInlineStyles }, { index, key, style }) {
return createElement({
node: rows[index],
stylesheet,
style,
useInlineStyles,
key
});
}