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

Method handleRef

src/DropdownToggle.js:104–108  ·  view source on GitHub ↗
(tagRef)

Source from the content-addressed store, hash-verified

102 // extracted the rendering of the Tag component
103 const returnFunction = ({ ref }) => {
104 const handleRef = (tagRef) => {
105 ref(tagRef);
106 const { onToggleRef } = this.context;
107 if (onToggleRef) onToggleRef(tagRef);
108 };
109
110 return (
111 <Tag

Callers

nothing calls this directly

Calls 1

refFunction · 0.85

Tested by

no test coverage detected