Skip to content

Commit f2bec50

Browse files
committed
fix(Visibility): offset propType arrayOf value
1 parent a150a5d commit f2bec50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/behaviors/Visibility/Visibility.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ export default class Visibility extends Component {
7474
offset: PropTypes.oneOfType([
7575
PropTypes.number,
7676
PropTypes.string,
77-
PropTypes.arrayOf([
77+
PropTypes.arrayOf(PropTypes.oneOfType([
7878
PropTypes.number,
7979
PropTypes.string,
80-
]),
80+
])),
8181
]),
8282

8383
/** When set to false a callback will occur each time an element passes the threshold for a condition. */

0 commit comments

Comments
 (0)