From 16721f7544231e87aa1625645786723378e0d56a Mon Sep 17 00:00:00 2001 From: Vadim Rogov <54108395+vdmrgv@users.noreply.github.com> Date: Fri, 8 Jul 2022 17:52:09 +0300 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7bbdbe9..3fd4b88 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ This hook allows you to create simple, lightweight components with infinite scro ### Simple Example +You can create infinite scrolling in any direction and in any pair, for example: `up-down`, `down-right`, `etc.` and even `all` at once. + [![Edit useInfiniteScroll](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-easy-infinite-scroll-hook-6w9szb) ```js @@ -81,9 +83,10 @@ This hook supports all [react-virtualized](https://www.npmjs.com/package/react-v Try it live: -| List | [![Edit useInfiniteScroll](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-easy-infinite-scroll-hook-virtualized-mdfpyu) | -| :--: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | -| Grid | [![Edit useInfiniteScroll](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-easy-infinite-scroll-hook-virtualized-grid-rlmfd9?file=/src/App.tsx) | +| Component | Description | Link | +| :--: | -- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | +| List | Virtualized `List` component with infinite scroll | [![Edit useInfiniteScroll](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-easy-infinite-scroll-hook-virtualized-mdfpyu) | +| Grid | Virtualized `Grid` component with infinite scroll `down` and `right` | [![Edit useInfiniteScroll](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-easy-infinite-scroll-hook-virtualized-grid-rlmfd9?file=/src/App.tsx) |