Download react-slick/docs/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/docs/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/docs/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/docs/index.js
343 Bytes
| ; | |
| import React from "react"; | |
| import { createRoot } from "react-dom/client"; | |
| import Docs from "./docs"; | |
| const container = document.getElementById("rapp"); | |
| const root = createRoot(container); | |
| React.initializeTouchEvents && React.initializeTouchEvents(true); | |
| root.render( | |
| <React.StrictMode> | |
| <Docs /> | |
| </React.StrictMode> | |
| ); | |