MCPcopy
hub / github.com/Flipboard/react-canvas / getPaddingAndBorder

Function getPaddingAndBorder

lib/Layout.js:62–64  ·  view source on GitHub ↗
(node, location)

Source from the content-addressed store, hash-verified

60 }
61
62 function getPaddingAndBorder(node, location) {
63 return getPadding(node, location) + getBorder(node, location);
64 }
65
66 function getMarginAxis(node, axis) {
67 return getMargin(node, leading[axis]) + getMargin(node, trailing[axis]);

Callers 2

getPaddingAndBorderAxisFunction · 0.85
Layout.jsFile · 0.85

Calls 2

getPaddingFunction · 0.85
getBorderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…