MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / getRef

Method getRef

src/Input.js:34–39  ·  view source on GitHub ↗
(ref)

Source from the content-addressed store, hash-verified

32 }
33
34 getRef(ref) {
35 if (this.props.innerRef) {
36 this.props.innerRef(ref);
37 }
38 this.ref = ref;
39 }
40
41 focus() {
42 if (this.ref) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected