Skip to content

Commit 2847f00

Browse files
committed
📝 update docs
1 parent 1a46740 commit 2847f00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ScrollSync.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ import PropTypes from 'prop-types'
99
export default class ScrollSync extends Component {
1010

1111
static propTypes = {
12+
/**
13+
* Callback to be invoked any time synchronization happens
14+
*
15+
* @param {Element} el The element that has received the scroll event
16+
*/
1217
onSync: PropTypes.func,
1318
children: PropTypes.element.isRequired,
1419
proportional: PropTypes.bool,

0 commit comments

Comments
 (0)