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

Function ensureConsumer

app/src/static/js/react-bootstrap.js:6739–6741  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

6737};
6738
6739var ensureConsumer = function ensureConsumer(c) {
6740 return c.Consumer || c;
6741};
6742
6743function $mapContextToProps(_ref, Component) {
6744 var maybeArrayOfConsumers = _ref.consumers,

Callers 2

$mapContextToPropsFunction · 0.85
multiRenderFunction · 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…