Spaces:
Sleeping
Sleeping
Download frontend/src/components/ui/PageHeader.jsx from shield137/shockmap-api: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/shield137/shockmap-api/resolve/main/frontend/src/components/ui/PageHeader.jsx
- Command line
-
hf download hf://spaces/shield137/shockmap-api/frontend/src/components/ui/PageHeader.jsx
-
curl -L -o PageHeader.jsx https://huggingface.co/spaces/shield137/shockmap-api/resolve/main/frontend/src/components/ui/PageHeader.jsx
375 Bytes
| export default function PageHeader({ title, description, action }) { | |
| return ( | |
| <div className="flex items-start justify-between mb-6"> | |
| <div> | |
| <h1 className="text-xl font-semibold text-white">{title}</h1> | |
| {description && <p className="text-sm text-muted mt-0.5">{description}</p>} | |
| </div> | |
| {action && <div>{action}</div>} | |
| </div> | |
| ); | |
| } | |