Spaces:
Sleeping
Sleeping
Download front/src/components/BoxContainer.tsx from ppaihack/PoCInnovation: direct link, hf CLI and curl.
- Browser
- Download file 520 Bytes
-
https://huggingface.co/spaces/ppaihack/PoCInnovation/resolve/main/front/src/components/BoxContainer.tsx
- Command line
-
hf download hf://spaces/ppaihack/PoCInnovation/front/src/components/BoxContainer.tsx
-
curl -L -o BoxContainer.tsx https://huggingface.co/spaces/ppaihack/PoCInnovation/resolve/main/front/src/components/BoxContainer.tsx
520 Bytes
| import React from "react"; | |
| export default function BoxContainer({ | |
| children, | |
| headerName, | |
| }: { | |
| children?: React.ReactNode | React.ReactNode[]; | |
| headerName?: string; | |
| }) { | |
| return ( | |
| <div className="flex items-center justify-center h-screen"> | |
| <div className="flex flex-col bg-white h-3/4 w-[40%] mt-0 rounded-xl border-gray-700 shadow-lg"> | |
| <div className="ml-0 border-b items-center p-4 font-bold bg-gray-50"> | |
| {headerName} | |
| </div> | |
| {children} | |
| </div> | |
| </div> | |
| ); | |
| } | |