Skip to content

Commit 2cc4eeb

Browse files
committed
Tweak wording
1 parent 65de4b9 commit 2cc4eeb

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ One&nbsp;of… <br>
164164

165165
Distance (number of pixels or CSS length unit like `1em`) to the edge of the
166166
content at which to consider the viewport fully scrolled. For example, if set to
167-
10, then the Overflow will consider scrolling to have reached the end as long as
168-
it’s within 10 pixels of the border. You can use this when your content has a
169-
lot of padding and scrolling close enough to the edge should be good enough.
167+
10, then it will consider scrolling to have reached the end as long as it’s
168+
within 10 pixels of the border. You can use this when your content has padding
169+
and scrolling close to the edge should be good enough.
170170

171171
</td>
172172
</tr>

src/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,9 @@ Overflow.propTypes = {
157157
/**
158158
* Distance (number of pixels or CSS length unit like `1em`) to the edge of
159159
* the content at which to consider the viewport fully scrolled. For example,
160-
* if set to 10, then the Overflow will consider scrolling to have reached
161-
* the end as long as it’s within 10 pixels of the border. You can use this
162-
* when your content has a lot of padding and scrolling close enough to the
163-
* edge should be good enough.
160+
* if set to 10, then it will consider scrolling to have reached the end as
161+
* long as it’s within 10 pixels of the border. You can use this when your
162+
* content has padding and scrolling close to the edge should be good enough.
164163
*/
165164
tolerance: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
166165
};

0 commit comments

Comments
 (0)