MCPcopy
hub / github.com/pmmmwh/react-refresh-webpack-plugin / Spacer

Function Spacer

overlay/components/Spacer.js:13–17  ·  view source on GitHub ↗

* An empty element to add spacing manually. * @param {Document} document * @param {HTMLElement} root * @param {SpacerProps} props * @returns {void}

(document, root, props)

Source from the content-addressed store, hash-verified

11 * @returns {void}
12 */
13function Spacer(document, root, props) {
14 const spacer = document.createElement('div');
15 spacer.style.paddingBottom = props.space;
16 root.appendChild(spacer);
17}
18
19module.exports = Spacer;

Callers 5

RuntimeErrorHeaderFunction · 0.85
PageHeaderFunction · 0.85
RuntimeErrorFooterFunction · 0.85
CompileErrorContainerFunction · 0.85
RuntimeErrorContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…