Skip to content

Commit 954e8d7

Browse files
authored
Update README.md (#123)
Added default value for `estimateSize` option.
1 parent 80dba57 commit 954e8d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ const {
250250
- **Required**
251251
- The parent element whose inner-content is scrollable
252252
- `estimateSize: Function(index) => Integer`
253+
- Defaults to `() => 50`
253254
- **Required**
254255
- **Must be memoized using `React.useCallback()`**
255256
- This function receives the index of each item and should return either:

0 commit comments

Comments
 (0)