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 a150a5d commit f2bec50Copy full SHA for f2bec50
src/behaviors/Visibility/Visibility.js
@@ -74,10 +74,10 @@ export default class Visibility extends Component {
74
offset: PropTypes.oneOfType([
75
PropTypes.number,
76
PropTypes.string,
77
- PropTypes.arrayOf([
+ PropTypes.arrayOf(PropTypes.oneOfType([
78
79
80
- ]),
+ ])),
81
]),
82
83
/** When set to false a callback will occur each time an element passes the threshold for a condition. */
0 commit comments