MCPcopy Index your code
hub / github.com/docker/getting-started / useBootstrapPrefix

Function useBootstrapPrefix

app/src/static/js/react-bootstrap.js:9202–9205  ·  view source on GitHub ↗
(prefix, defaultPrefix)

Source from the content-addressed store, hash-verified

9200 prefixes: prop_types_default.a.object.isRequired
9201};
9202function useBootstrapPrefix(prefix, defaultPrefix) {
9203 var prefixes = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useContext"])(ThemeContext);
9204 return prefix || prefixes.get(defaultPrefix) || defaultPrefix;
9205}
9206
9207function createBootstrapComponent(Component, opts) {
9208 if (typeof opts === 'string') opts = {

Callers 2

react-bootstrap.jsFile · 0.85
createWithBsPrefixFunction · 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…