Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@emotion/react/src/_isolated-hnrs.ts from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 650 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40emotion/react/src/_isolated-hnrs.ts
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@emotion/react/src/_isolated-hnrs.ts
-
curl -L -o _isolated-hnrs.ts https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40emotion/react/src/_isolated-hnrs.ts
650 Bytes
| // this file isolates this package that is not tree-shakeable | |
| // and allows it to be dropped - if it stays unused | |
| // it happens thanks to sideEffects: false in our package.json | |
| import hoistNonReactStatics from 'hoist-non-react-statics' | |
| // have to wrap it in a proxy function because Rollup is too damn smart | |
| // and if this module doesn't actually contain any logic of its own | |
| // then Rollup just use 'hoist-non-react-statics' directly in other chunks | |
| export default < | |
| T extends React.ComponentType<any>, | |
| S extends React.ComponentType<any> | |
| >( | |
| targetComponent: T, | |
| sourceComponent: S | |
| ) => hoistNonReactStatics(targetComponent, sourceComponent) | |