diff --git a/dist/Section.js b/dist/Section.js index e82987d..20cc9a7 100644 --- a/dist/Section.js +++ b/dist/Section.js @@ -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); @@ -102,14 +104,14 @@ var Section = function (_React$Component) { }(React.Component); Section.propTypes = { - color: React.PropTypes.string + color: PropTypes.string }; Section.contextTypes = { - 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 }; exports.default = Section; \ No newline at end of file diff --git a/dist/SectionsContainer.js b/dist/SectionsContainer.js index ccf23ed..8ba5ede 100644 --- a/dist/SectionsContainer.js +++ b/dist/SectionsContainer.js @@ -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); @@ -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 }; \ No newline at end of file