Update style of logs window

This commit is contained in:
Hristo Nedelkov 2023-11-08 02:06:09 +02:00
parent a8579ef34b
commit dd26dbf01a
1 changed files with 22 additions and 10 deletions

View File

@ -600,21 +600,33 @@ function LogsTerminal() {
};
return (
<Stack>
<Stack style={{ borderRadius: '25%' }}>
<List
height={350}
itemCount={exampleData.length}
itemSize={35}
<InfiniteLoader
isItemLoaded={isItemLoaded}
itemCount={data.length}
loadMoreItems={loadMoreItems}
>
{({ index }: any) => (
<Row data={exampleData[index]} index={index} />
{({ onItemsRendered, ref }) => (
<List
height={650}
width={1100}
itemCount={data.length}
itemSize={20}
itemData={data}
onItemsRendered={onItemsRendered}
ref={ref}
>
{({ index, style }) => (
<div style={style}>
<Row data={data[index]} index={index} />
</div>
)}
</List>
)}
</List>
</InfiniteLoader>
</Stack>
);
}
export default LogsTerminal;