Spaces:
Runtime error
Runtime error
Download frontend/src/components/ChartContainer.tsx from GaryLeckey/aureon-os: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/frontend/src/components/ChartContainer.tsx
- Command line
-
hf download hf://spaces/GaryLeckey/aureon-os/frontend/src/components/ChartContainer.tsx
-
curl -L -o ChartContainer.tsx https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/frontend/src/components/ChartContainer.tsx
535 Bytes
| import React from 'react'; | |
| interface ChartContainerProps { | |
| title: string; | |
| children: React.ReactNode; | |
| } | |
| const ChartContainer: React.FC<ChartContainerProps> = ({ title, children }) => { | |
| return ( | |
| <div className="bg-gray-800/50 border border-gray-700 rounded-lg shadow-lg p-4 pt-2 pb-4 h-96 flex flex-col"> | |
| <h3 className="text-lg font-semibold text-gray-300 mb-4 text-center">{title}</h3> | |
| <div className="flex-grow w-full h-full"> | |
| {children} | |
| </div> | |
| </div> | |
| ); | |
| }; | |
| export default ChartContainer; | |