Skip to content

Commit 8ba4796

Browse files
committed
fix: correct JSDoc typos in virtualized-lists
- FillRateHelper.js: fix typo 'maximem' -> 'maximum' in class JSDoc - ViewabilityHelper.js: fix incorrect prop name in comment 'viewAreaPercentThreshold' -> 'viewAreaCoveragePercentThreshold' (the correct name as defined in ViewabilityConfig type above)
1 parent 7fc911a commit 8ba4796

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/virtualized-lists/Lists/FillRateHelper.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ let _minSampleCount = 10;
3838
let _sampleRate = DEBUG ? 1 : null;
3939

4040
/**
41-
* A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.
41+
* A helper class for detecting when the maximum fill rate of `VirtualizedList` is exceeded.
4242
* By default the sampling rate is set to zero and this will do nothing. If you want to collect
4343
* samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.
4444
*

‎packages/virtualized-lists/Lists/ViewabilityHelper.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export type ViewabilityConfig = Readonly<{
5555
viewAreaCoveragePercentThreshold?: number,
5656

5757
/**
58-
* Similar to `viewAreaPercentThreshold`, but considers the percent of the item that is visible,
58+
* Similar to `viewAreaCoveragePercentThreshold`, but considers the percent of the item that is visible,
5959
* rather than the fraction of the viewable area it covers.
6060
*/
6161
itemVisiblePercentThreshold?: number,

0 commit comments

Comments
 (0)