File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ const propTypes = {
59
59
onKeyDown : PropTypes . func ,
60
60
onKeyPress : PropTypes . func ,
61
61
onKeyUp : PropTypes . func ,
62
+ onMouseDown : PropTypes . func ,
62
63
onMouseEnter : PropTypes . func ,
63
64
onMouseLeave : PropTypes . func ,
64
65
/**
@@ -78,7 +79,7 @@ const propTypes = {
78
79
*/
79
80
stateThree : PropTypes . object ,
80
81
/**
81
- * Write <code>'-1'</code> if you don't want the user to tab to the button.
82
+ * Write "-1" if you don't want the user to tab to the button.
82
83
*/
83
84
tabIndex : PropTypes . string ,
84
85
tooltip : PropTypes . node ,
@@ -146,6 +147,7 @@ class ButtonStateful extends TooltipTrigger {
146
147
onKeyDown,
147
148
onKeyPress,
148
149
onKeyUp,
150
+ onMouseDown,
149
151
onMouseEnter,
150
152
onMouseLeave,
151
153
stateOne,
@@ -170,6 +172,7 @@ class ButtonStateful extends TooltipTrigger {
170
172
onKeyDown = { onKeyDown }
171
173
onKeyPress = { onKeyPress }
172
174
onKeyUp = { onKeyUp }
175
+ onMouseDown = { onMouseDown }
173
176
onMouseEnter = { onMouseEnter }
174
177
onMouseLeave = { this . handleBlur . bind ( this ) }
175
178
tabIndex = { tabIndex }
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ const propTypes = {
85
85
onKeyDown : PropTypes . func ,
86
86
onKeyPress : PropTypes . func ,
87
87
onKeyUp : PropTypes . func ,
88
+ onMouseDown : PropTypes . func ,
88
89
onMouseEnter : PropTypes . func ,
89
90
onMouseLeave : PropTypes . func ,
90
91
/**
@@ -214,6 +215,7 @@ class Button extends TooltipTrigger {
214
215
onKeyDown,
215
216
onKeyPress,
216
217
onKeyUp,
218
+ onMouseDown,
217
219
onMouseEnter,
218
220
onMouseLeave,
219
221
tabIndex
@@ -232,6 +234,7 @@ class Button extends TooltipTrigger {
232
234
onKeyDown = { onKeyDown }
233
235
onKeyPress = { onKeyPress }
234
236
onKeyUp = { onKeyUp }
237
+ onMouseDown = { onMouseDown }
235
238
onMouseEnter = { onMouseEnter }
236
239
onMouseLeave = { onMouseLeave }
237
240
tabIndex = { tabIndex }
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ module.exports = React.createClass({
260
260
onInput,
261
261
pattern,
262
262
placeholder,
263
- ...props
263
+ ...props // eslint-disable-line no-unused-vars
264
264
} = this . props ;
265
265
266
266
let isInline ;
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ GlobalNavigationBarLink.propTypes = {
127
127
onMouseEnter : PropTypes . func ,
128
128
onMouseLeave : PropTypes . func ,
129
129
/**
130
- * Write <code> "-1"</code> if you don't want the user to tab to the button.
130
+ * Write "-1" if you don't want the user to tab to the button.
131
131
*/
132
132
tabIndex : PropTypes . string
133
133
} ;
You can’t perform that action at this time.
0 commit comments