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

Function extend

packages/jss-plugin-extend/src/index.js:73–77  ·  view source on GitHub ↗

* Recursively extend styles.

(style, rule, sheet, newStyle = {})

Source from the content-addressed store, hash-verified

71 * Recursively extend styles.
72 */
73function extend(style, rule, sheet, newStyle = {}) {
74 mergeExtend(style, rule, sheet, newStyle)
75 mergeRest(style, rule, sheet, newStyle)
76 return newStyle
77}
78
79/**
80 * Handle `extend` property.

Callers 6

mergeExtendFunction · 0.85
mergeRestFunction · 0.85
onProcessStyleFunction · 0.85
index.test.jsFile · 0.85
createFunction · 0.85
jss.jsFile · 0.85

Calls 2

mergeExtendFunction · 0.85
mergeRestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…