Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/overlay/components/Spacer.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40pmmmwh/react-refresh-webpack-plugin/overlay/components/Spacer.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/overlay/components/Spacer.js
-
curl -L -o Spacer.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40pmmmwh/react-refresh-webpack-plugin/overlay/components/Spacer.js
420 Bytes
| /** | |
| * @typedef {Object} SpacerProps | |
| * @property {string} space | |
| */ | |
| /** | |
| * An empty element to add spacing manually. | |
| * @param {Document} document | |
| * @param {HTMLElement} root | |
| * @param {SpacerProps} props | |
| * @returns {void} | |
| */ | |
| function Spacer(document, root, props) { | |
| const spacer = document.createElement('div'); | |
| spacer.style.paddingBottom = props.space; | |
| root.appendChild(spacer); | |
| } | |
| module.exports = Spacer; | |