Spaces:
Sleeping
Sleeping
Download src/components/common/Layout.tsx from rolexx/DefendDaniel2: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/rolexx/DefendDaniel2/resolve/main/src/components/common/Layout.tsx
- Command line
-
hf download hf://spaces/rolexx/DefendDaniel2/src/components/common/Layout.tsx
-
curl -L -o Layout.tsx https://huggingface.co/spaces/rolexx/DefendDaniel2/resolve/main/src/components/common/Layout.tsx
361 Bytes
| 'use client'; | |
| import { FC, ReactNode } from 'react'; | |
| interface LayoutProps { | |
| children: ReactNode; | |
| } | |
| const Layout: FC<LayoutProps> = ({ children }) => { | |
| return ( | |
| <div className="w-screen h-screen bg-black overflow-hidden"> | |
| <div className="w-full h-full overflow-y-auto"> | |
| {children} | |
| </div> | |
| </div> | |
| ); | |
| }; | |
| export default Layout; |