diff --git a/src/CarouselItem.js b/src/CarouselItem.js index 7ac5e6c5f3..f22fc3baf6 100644 --- a/src/CarouselItem.js +++ b/src/CarouselItem.js @@ -7,7 +7,10 @@ const CarouselItem = React.createClass({ direction: React.PropTypes.oneOf(['prev', 'next']), onAnimateOutEnd: React.PropTypes.func, active: React.PropTypes.bool, - caption: React.PropTypes.node + animateIn: React.PropTypes.bool, + animateOut: React.PropTypes.bool, + caption: React.PropTypes.node, + index: React.PropTypes.number }, getInitialState() { diff --git a/src/Input.js b/src/Input.js index e257156ca0..ff224e3456 100644 --- a/src/Input.js +++ b/src/Input.js @@ -28,7 +28,9 @@ const Input = React.createClass({ groupClassName: React.PropTypes.string, wrapperClassName: React.PropTypes.string, labelClassName: React.PropTypes.string, - disabled: React.PropTypes.bool + multiple: React.PropTypes.bool, + disabled: React.PropTypes.bool, + value: React.PropTypes.any }, getInputDOMNode() { diff --git a/src/SplitButton.js b/src/SplitButton.js index 313c3193c8..56f598fd46 100644 --- a/src/SplitButton.js +++ b/src/SplitButton.js @@ -1,3 +1,5 @@ +/* eslint react/prop-types: [1, {ignore: ["children", "className", "bsSize"]}]*/ +/* BootstrapMixin contains `bsSize` type validation */ import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; @@ -16,6 +18,7 @@ const SplitButton = React.createClass({ id: React.PropTypes.string, target: React.PropTypes.string, dropdownTitle: React.PropTypes.node, + dropup: React.PropTypes.bool, onClick: React.PropTypes.func, onSelect: React.PropTypes.func, disabled: React.PropTypes.bool diff --git a/src/TabPane.js b/src/TabPane.js index 2a030e27a6..ed3d59a1e1 100644 --- a/src/TabPane.js +++ b/src/TabPane.js @@ -4,7 +4,9 @@ import TransitionEvents from './utils/TransitionEvents'; const TabPane = React.createClass({ propTypes: { - active: React.PropTypes.bool + active: React.PropTypes.bool, + animation: React.PropTypes.bool, + onAnimateOutEnd: React.PropTypes.func }, getDefaultProps() { @@ -60,7 +62,7 @@ const TabPane = React.createClass({ animateOut: false }); - if (typeof this.props.onAnimateOutEnd === 'function') { + if (this.props.onAnimateOutEnd) { this.props.onAnimateOutEnd(); } }