-
Notifications
You must be signed in to change notification settings - Fork 471
loadMoreLabel #542
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
loadMoreLabel #542
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rap2hpoutre, this looks good overall. 👌
One minor issue - this only supports string types. Please refer the title prop usage in this component, where we take both string and JSX inputs. Having JSX inputs will offer more customisability.
We will need to apply the same for SingleList, SingleDropdownList and MultiDropdownList as well
|
@metagrover Thank you for your review. 👍 I'm not sure to understand:
I checked types here: https://github.com/appbaseio/reactivecore/blob/master/src/utils/types.js and saw that Do you want me to create a new I'm a bit lost 😅 |
|
@rap2hpoutre You can use |
|
@metagrover Done! |
metagrover
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 💯
Now, it would be great if you can replicate this on SingleList, SingleDropdownList and MultiDropdownList.
|
@metagrover Done! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, could you also update the typings files please? Each component has its own .d.ts file. You could use the same typing from title
|
@divyanshu013 @metagrover Done. |
|
@rap2hpoutre Thanks for contributing 🤝 |
Updates doc following this MR: appbaseio/reactivesearch#542
|
how are loadMore and handleLoadMore used in ReactiveList? They seem like interesting properties but I couldn't find much on them. |
See: #515 (comment)
The prop is a
stringto be consistent withmissingLabel,filterLabel, etc. It's called*Labelfor the same reason. Still, I can edit the PR and change behavior.