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

Function getPaddingAndBorderAxis

lib/Layout.js:70–72  ·  view source on GitHub ↗
(node, axis)

Source from the content-addressed store, hash-verified

68 }
69
70 function getPaddingAndBorderAxis(node, axis) {
71 return getPaddingAndBorder(node, leading[axis]) + getPaddingAndBorder(node, trailing[axis]);
72 }
73
74 function getJustifyContent(node) {
75 if ('justifyContent' in node.style) {

Callers 2

setDimensionFromStyleFunction · 0.85
Layout.jsFile · 0.85

Calls 1

getPaddingAndBorderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…