MCPcopy Create free account
hub / github.com/DeedMob/react-load-image / onlyChild

Function onlyChild

example/dist.js:12242–12245  ·  view source on GitHub ↗

* Returns the first child in a collection of children and verifies that there * is only one child in the collection. * * See https://facebook.github.io/react/docs/top-level-api.html#react.children.only * * The current implementation of this function assumes that a single child gets * passed wi

(children)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

invariantFunction · 0.85

Tested by

no test coverage detected