react-endless
v1.0.12
Published
react endless scroll for any list
Downloads
11
Readme
Optimized scroll of elements
demo:
EXAMPLE
const Item = ({item}) => {
const {name, id} = item;
return(
<>
<span>{name}</span>
<span>{id}</span>
</>
);
};
<EndlScroll
data={arr} //[{ id name }, { id name }]
itemStyles={{...}}
ItemBlock={Item}
itemHeight="50"
itemsCount={15}
styles={{...}}
/>
by goga