Skip to content

Commit

Permalink
fix(slider): fixed pip propTypes constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
redox committed Nov 5, 2015
1 parent 1d6a92f commit c77b7f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ class Slider extends React.Component {
Slider.propTypes = {
onChange: React.PropTypes.func,
onSlide: React.PropTypes.func,
pips: React.PropTypes.object,
pips: React.PropTypes.oneOfType([
React.PropTypes.bool,
React.PropTypes.object
]),
range: React.PropTypes.object.isRequired,
start: React.PropTypes.arrayOf(React.PropTypes.number).isRequired,
tooltips: React.PropTypes.oneOfType([
Expand Down

0 comments on commit c77b7f4

Please sign in to comment.