MCPcopy Index your code
hub / github.com/Lobos/react-ui / handleClick

Method handleClick

src/Button.js:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 }
32
33 handleClick() {
34 if (this.props.onClick) {
35 this.props.onClick();
36 }
37 if (this.props.once) {
38 this.disable();
39 }
40 }
41
42 render() {
43 let status = this.props.status;

Callers

nothing calls this directly

Calls 2

disableMethod · 0.95
onClickMethod · 0.80

Tested by

no test coverage detected