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

Function getDefaultActiveKey

app/src/static/js/react-bootstrap.js:17209–17217  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

17207};
17208
17209function getDefaultActiveKey(children) {
17210 var defaultActiveKey;
17211 forEach(children, function (child) {
17212 if (defaultActiveKey == null) {
17213 defaultActiveKey = child.props.eventKey;
17214 }
17215 });
17216 return defaultActiveKey;
17217}
17218
17219var Tabs_Tabs =
17220/*#__PURE__*/

Callers 1

react-bootstrap.jsFile · 0.85

Calls 1

forEachFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…