MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / mapToCssModules

Function mapToCssModules

src/utils.js:53–59  ·  view source on GitHub ↗
(className = '', cssModule = globalCssModule)

Source from the content-addressed store, hash-verified

51}
52
53export function mapToCssModules(className = '', cssModule = globalCssModule) {
54 if (!cssModule) return className;
55 return className
56 .split(' ')
57 .map((c) => cssModule[c] || c)
58 .join(' ');
59}
60
61/**
62 * Returns a new object with the key/value pairs from `obj` that are not in the array `omitKeys`.

Callers 15

ListInlineItem.jsFile · 0.90
renderMethod · 0.90
renderMethod · 0.90
LabelFunction · 0.90
NavbarTextFunction · 0.90
BadgeFunction · 0.90
CardImgFunction · 0.90
AccordionHeaderFunction · 0.90
List.jsFile · 0.90
ToastBodyFunction · 0.90
renderMethod · 0.90
getClassesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…