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

Method disable

src/Button.js:25–27  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

23 }
24
25 disable(elem) {
26 this.setState({ disabled: true, show: elem });
27 }
28
29 enable(elem) {
30 this.setState({ disabled: false, show: elem });

Callers 2

handleClickMethod · 0.95
behavior.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected