Skip to content

Commit dc393cc

Browse files
committed
📝 update docs
1 parent 1a46740 commit dc393cc

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 when synchronization happens with the element that
14+
* received the scroll event.
15+
* Signature: `(Element)`
16+
*/
1217
onSync: PropTypes.func,
1318
children: PropTypes.element.isRequired,
1419
proportional: PropTypes.bool,

0 commit comments

Comments
 (0)