react-endless

1.0.12 • Public • Published

React Endless Scroll

Optimized scroll of elements

demo:


react-endless


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

Readme

Keywords

none

Package Sidebar

Install

npm i react-endless

Weekly Downloads

12

Version

1.0.12

License

MIT

Unpacked Size

5.2 kB

Total Files

3

Last publish

Collaborators

  • uncodegem