Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fbfbe93

Browse files
committed
Fix typo in docs
1 parent 8f86493 commit fbfbe93

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,9 @@ One&nbsp;of... <br>
272272
<td valign="top" valign="top" rowspan="1">
273273

274274
Indicator to render when scrolling is allowed in the requested direction. If
275-
given a function, it will be passed the overflow state and and object containing
276-
the `viewport` ref (you can use the `refs` parameter to render an indicator that
277-
is also a button that scrolls the viewport).
275+
given a function, it will be passed the overflow state and an object containing
276+
the `viewport` ref. You can use this `refs` parameter to render an indicator
277+
that is also a button that scrolls the viewport (for example).
278278

279279
</td>
280280
</tr>

‎src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,9 @@ OverflowIndicator.displayName = 'Overflow.Indicator';
367367
OverflowIndicator.propTypes = {
368368
/**
369369
* Indicator to render when scrolling is allowed in the requested direction.
370-
* If given a function, it will be passed the overflow state and and object
371-
* containing the `viewport` ref (you can use the `refs` parameter to render
372-
* an indicator that is also a button that scrolls the viewport).
370+
* If given a function, it will be passed the overflow state and an object
371+
* containing the `viewport` ref. You can use this `refs` parameter to render
372+
* an indicator that is also a button that scrolls the viewport (for example).
373373
*/
374374
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
375375
/**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /