Skip to content

Commit 80b9c95

Browse files
committed
more lint (added prop-type for children)
1 parent a685b27 commit 80b9c95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scrollchor.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ export default class Scrollchor extends React.Component {
1818
}),
1919
beforeAnimate: PropTypes.func,
2020
afterAnimate: PropTypes.func,
21-
disableHistory: PropTypes.bool
21+
disableHistory: PropTypes.bool,
22+
children: PropTypes.node
2223
}
2324

2425
static _stateHelper (props) {

0 commit comments

Comments
 (0)