Download index.tsx from im1111/xpaintdev: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/im1111/xpaintdev/resolve/main/index.tsx
- Command line
-
hf download hf://spaces/im1111/xpaintdev/index.tsx
-
curl -L -o index.tsx https://huggingface.co/spaces/im1111/xpaintdev/resolve/main/index.tsx
350 Bytes
| import React from 'react'; | |
| import ReactDOM from 'react-dom/client'; | |
| import App from './App'; | |
| const rootElement = document.getElementById('root'); | |
| if (!rootElement) { | |
| throw new Error("Could not find root element to mount to"); | |
| } | |
| const root = ReactDOM.createRoot(rootElement); | |
| root.render( | |
| <React.StrictMode> | |
| <App /> | |
| </React.StrictMode> | |
| ); | |