Skip to content

Commit

Permalink
Define types for properties in CarouselItem.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKVal committed Apr 10, 2015
1 parent 631fa3e commit f3ae67e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/CarouselItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f3ae67e

Please sign in to comment.