Add back onBlur and onFocus for Switch component

old
Javi Velasco 2015-11-12 19:02:21 +01:00
parent 846699ad22
commit acdb2ca0f7
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ class Switch extends React.Component {
disabled: React.PropTypes.bool,
label: React.PropTypes.string,
name: React.PropTypes.string,
onChange: React.PropTypes.func
onBlur: React.PropTypes.func,
onChange: React.PropTypes.func,
onFocus: React.PropTypes.func
};
static defaultProps = {