MCPcopy
hub / github.com/cssinjs/jss / onProcessStyle

Function onProcessStyle

packages/jss-plugin-default-unit/src/index.js:60–68  ·  view source on GitHub ↗
(style, rule)

Source from the content-addressed store, hash-verified

58 const camelCasedOptions = addCamelCasedVersion(options)
59
60 function onProcessStyle(style, rule) {
61 if (rule.type !== 'style') return style
62
63 for (const prop in style) {
64 style[prop] = iterate(prop, style[prop], camelCasedOptions)
65 }
66
67 return style
68 }
69
70 function onChangeValue(value, prop) {
71 return iterate(prop, value, camelCasedOptions)

Callers

nothing calls this directly

Calls 1

iterateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…