Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const rowRenderer = (props: any) => {
const { index, key, style } = props;
const row = items[index];
const itemClickProxy = generateOnRowClickProxy(onItemClick)(row);
const isPlaceholder = !isItemLoaded(index) || !items[index];
const itemToRender = (
);
const placeholderItem = placeholderStyle => {
const placeholderMessage = noRecordsFound ? 'No records found' : 'Loading...';
return (