Spaces:
Running
Running
Download src/components/Layout/Layout.jsx from STAR-GROUP/model-test-react: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/STAR-GROUP/model-test-react/resolve/9f15edd32eb2d925a6dd9a63ea7045b8ebdccf90/src/components/Layout/Layout.jsx
- Command line
-
hf download hf://spaces/STAR-GROUP/model-test-react@9f15edd32eb2d925a6dd9a63ea7045b8ebdccf90/src/components/Layout/Layout.jsx
-
curl -L -o Layout.jsx https://huggingface.co/spaces/STAR-GROUP/model-test-react/resolve/9f15edd32eb2d925a6dd9a63ea7045b8ebdccf90/src/components/Layout/Layout.jsx
318 Bytes
| import React from "react"; | |
| import Header from "./Header"; | |
| import Footer from "./Footer"; | |
| import TopBar from "./TopBar"; | |
| const Layout = ({ children }) => { | |
| return ( | |
| <div> | |
| <TopBar /> | |
| <Header /> | |
| <main>{children}</main> | |
| <Footer /> | |
| </div> | |
| ); | |
| }; | |
| export default Layout; | |