import React from 'react';
import { createStyles, makeStyles, Theme } from '@material-ui/core/styles';
import ListItem from '@material-ui/core/ListItem';
import ListItemText from '@material-ui/core/ListItemText';
import { FixedSizeList, ListChildComponentProps } from 'react-window';
const useStyles = makeStyles((theme: Theme) =>
createStyles({
root: {
width: '100%',
height: 400,
maxWidth: 300,
backgroundColor: theme.palette.background.paper,
},
}),
);
function renderRow(props: ListChildComponentProps) {
const { index, style } = props;
return (