From f3ae67ee2f180063dc01e077da72f473a941eaaa Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Fri, 10 Apr 2015 20:19:58 +0300 Subject: [PATCH] Define types for properties in CarouselItem.js. --- src/CarouselItem.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() {