Skip to content

Commit

Permalink
Edit Props documentation
Browse files Browse the repository at this point in the history
#42
Setting threshold to 0 may not disable calling loadMoreItems.
Use less strict word to clarify the point.
  • Loading branch information
dlguswo333 committed Nov 24, 2024
1 parent b2b5891 commit 78f76b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Props = {
/**
* Threshold value to load more items on items rendered.
* When 1st ~ *threshold*th first item at either end is visible, `loadMoreItems` will be called.
* Setting the value `0` or smaller may disable calling `loadMoreItems` on items rendered.
* Setting the value `0` or smaller might disable calling `loadMoreItems` on items rendered.
*/
threshold: number;
/**
Expand Down
2 changes: 1 addition & 1 deletion package/src/InfiniteScroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Props = {
/**
* Threshold value to load more items on items rendered.
* When 1st ~ *threshold*th first item at either end is visible, `loadMoreItems` will be called.
* Setting the value `0` or smaller may disable calling `loadMoreItems` on items rendered.
* Setting the value `0` or smaller might disable calling `loadMoreItems` on items rendered.
*/
threshold: number;
/**
Expand Down

0 comments on commit 78f76b5

Please sign in to comment.