We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e21866 commit 8d1805cCopy full SHA for 8d1805c
src/components/PlaceholderWithoutTracking.jsx
@@ -116,14 +116,14 @@ class PlaceholderWithoutTracking extends React.Component {
116
117
PlaceholderWithoutTracking.propTypes = {
118
onVisible: PropTypes.func.isRequired,
119
- scrollPosition: PropTypes.shape({
120
- x: PropTypes.number.isRequired,
121
- y: PropTypes.number.isRequired,
122
- }),
123
className: PropTypes.string,
124
height: PropTypes.number,
125
placeholder: PropTypes.element,
126
threshold: PropTypes.number,
+ scrollPosition: PropTypes.shape({
+ x: PropTypes.number.isRequired,
+ y: PropTypes.number.isRequired,
+ }),
127
width: PropTypes.number,
128
};
129
0 commit comments