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

Function getMarginAxis

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

Source from the content-addressed store, hash-verified

64 }
65
66 function getMarginAxis(node, axis) {
67 return getMargin(node, leading[axis]) + getMargin(node, trailing[axis]);
68 }
69
70 function getPaddingAndBorderAxis(node, axis) {
71 return getPaddingAndBorder(node, leading[axis]) + getPaddingAndBorder(node, trailing[axis]);

Callers 2

getDimWithMarginFunction · 0.85
Layout.jsFile · 0.85

Calls 1

getMarginFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…