Skip to content

feat: introduce InfiniteScroll component #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2023
Merged

feat: introduce InfiniteScroll component #2

merged 2 commits into from
Mar 24, 2023

Conversation

isqua
Copy link
Contributor

@isqua isqua commented Mar 10, 2023

I added a component for infinite scroll. The component renders child elements. If you scroll it to the bottom, it will show a loader and call an onActivate callback. When all the data is loaded and there is no need to load more, pass the disabled={true} property.

I also set up the storybook for properly working with @gravity-ui/uikit components.

@korvin89
Copy link
Contributor

Could you add readme file with api description?

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@isqua
Copy link
Contributor Author

isqua commented Mar 23, 2023

Could you add readme file with api description?

Yes, sure. Here you could see the preview: README.md preview

@isqua isqua merged commit 4240714 into gravity-ui:main Mar 24, 2023
@isqua isqua deleted the infinite-scroll branch March 24, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants