Spaces:
Sleeping
Sleeping
pythonic-rag-FastAPIReact / frontend /node_modules /@mui /utils /esm /isHostComponent /isHostComponent.js
Download frontend/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/utils/esm/isHostComponent/isHostComponent.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js
-
curl -L -o isHostComponent.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/utils/esm/isHostComponent/isHostComponent.js
200 Bytes
| /** | |
| * Determines if a given element is a DOM element name (i.e. not a React component). | |
| */ | |
| function isHostComponent(element) { | |
| return typeof element === 'string'; | |
| } | |
| export default isHostComponent; |