Download tabler-react/example/src/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/example/src/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/example/src/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/example/src/index.js
342 Bytes
| // @flow | |
| import React from "react"; | |
| import ReactDOM from "react-dom"; | |
| import "./index.css"; | |
| import "./c3jscustom.css"; | |
| import App from "./App.react"; | |
| const rootElement = document.getElementById("root"); | |
| if (rootElement) { | |
| ReactDOM.render(<App />, rootElement); | |
| } else { | |
| throw new Error("Could not find root element to mount to!"); | |
| } | |