MCPcopy Create free account
hub / github.com/docker/getting-started / wrapRefs

Function wrapRefs

app/src/static/js/react-bootstrap.js:15334–15345  ·  view source on GitHub ↗
(props, arrowProps)

Source from the content-addressed store, hash-verified

15332};
15333
15334function wrapRefs(props, arrowProps) {
15335 var ref = props.ref;
15336 var aRef = arrowProps.ref;
15337
15338 props.ref = ref.__wrapped || (ref.__wrapped = function (r) {
15339 return ref(Object(external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_["findDOMNode"])(r));
15340 });
15341
15342 arrowProps.ref = aRef.__wrapped || (aRef.__wrapped = function (r) {
15343 return aRef(Object(external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_["findDOMNode"])(r));
15344 });
15345}
15346
15347function Overlay_Overlay(_ref) {
15348 var overlay = _ref.children,

Callers 1

Overlay_OverlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…