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 4b14c00 commit 431627eCopy full SHA for 431627e
src/app/containers/TravelContainer.jsx
@@ -1,4 +1,5 @@
1
import React from 'react';
2
+import PropTypes from 'prop-types';
3
import MainSlider from '../components/MainSlider';
4
5
const TravelContainer = ({
@@ -28,4 +29,14 @@ const TravelContainer = ({
28
29
</div>
30
31
);
32
+
33
+TravelContainer.propTypes = {
34
+ playForward: PropTypes.func.isRequired,
35
+ moveBackward: PropTypes.func.isRequired,
36
+ moveForward: PropTypes.func.isRequired,
37
+ snapshotsLength: PropTypes.number.isRequired,
38
+ handleChangeSnapshot: PropTypes.func.isRequired,
39
+ handleJumpSnapshot: PropTypes.func.isRequired,
40
+ snapshotIndex: PropTypes.number.isRequired,
41
+};
42
export default TravelContainer;
0 commit comments