We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pip
1 parent 1d6a92f commit c77b7f4Copy full SHA for c77b7f4
components/Slider/Slider.js
@@ -46,7 +46,10 @@ class Slider extends React.Component {
46
Slider.propTypes = {
47
onChange: React.PropTypes.func,
48
onSlide: React.PropTypes.func,
49
- pips: React.PropTypes.object,
+ pips: React.PropTypes.oneOfType([
50
+ React.PropTypes.bool,
51
+ React.PropTypes.object
52
+ ]),
53
range: React.PropTypes.object.isRequired,
54
start: React.PropTypes.arrayOf(React.PropTypes.number).isRequired,
55
tooltips: React.PropTypes.oneOfType([
0 commit comments