Skip to content

Commit

Permalink
Migrated React Proptypes
Browse files Browse the repository at this point in the history
Fixes this issue
subtirelumihail#59
  • Loading branch information
daydream05 committed May 29, 2018
1 parent 87a7b2f commit 560b99a
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions dist/SectionsContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var PropTypes = require('prop-types');

var _react = require('react');

var React = _interopRequireWildcard(_react);
Expand Down Expand Up @@ -429,26 +431,26 @@ SectionsContainer.defaultProps = {
};

SectionsContainer.propTypes = {
scrollCallback: React.PropTypes.func,
delay: React.PropTypes.number,
verticalAlign: React.PropTypes.bool,
scrollBar: React.PropTypes.bool,
navigation: React.PropTypes.bool,
className: React.PropTypes.string,
sectionClassName: React.PropTypes.string,
navigationClass: React.PropTypes.string,
navigationAnchorClass: React.PropTypes.string,
activeClass: React.PropTypes.string,
sectionPaddingTop: React.PropTypes.string,
sectionPaddingBottom: React.PropTypes.string,
arrowNavigation: React.PropTypes.bool,
activeSection: React.PropTypes.number,
touchNavigation: React.PropTypes.bool
scrollCallback: PropTypes.func,
delay: PropTypes.number,
verticalAlign: PropTypes.bool,
scrollBar: PropTypes.bool,
navigation: PropTypes.bool,
className: PropTypes.string,
sectionClassName: PropTypes.string,
navigationClass: PropTypes.string,
navigationAnchorClass: PropTypes.string,
activeClass: PropTypes.string,
sectionPaddingTop: PropTypes.string,
sectionPaddingBottom: PropTypes.string,
arrowNavigation: PropTypes.bool,
activeSection: PropTypes.number,
touchNavigation: PropTypes.bool
};

SectionsContainer.childContextTypes = {
verticalAlign: React.PropTypes.bool,
sectionClassName: React.PropTypes.string,
sectionPaddingTop: React.PropTypes.string,
sectionPaddingBottom: React.PropTypes.string
verticalAlign: PropTypes.bool,
sectionClassName: PropTypes.string,
sectionPaddingTop: PropTypes.string,
sectionPaddingBottom: PropTypes.string
};

0 comments on commit 560b99a

Please sign in to comment.