(ev)
| 37 | } |
| 38 | |
| 39 | handleChange(ev){ |
| 40 | this.setState({'checked':!this.state.checked}) |
| 41 | if(this.props.onSwitch){ |
| 42 | this.props.onSwitch(ev.target.checked) |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | Switch.PropTypes = { |
nothing calls this directly
no outgoing calls
no test coverage detected