(e)
| 32 | } |
| 33 | |
| 34 | onClick(e) { |
| 35 | if (this.props.disabled) { |
| 36 | e.preventDefault(); |
| 37 | return; |
| 38 | } |
| 39 | |
| 40 | if (this.props.href === '#') { |
| 41 | e.preventDefault(); |
| 42 | } |
| 43 | |
| 44 | if (this.props.onClick) { |
| 45 | this.props.onClick(e); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | render() { |
| 50 | let { |
no outgoing calls
no test coverage detected