Spaces:
Runtime error
Runtime error
Download client/src/components/shared/PageHeader.jsx from moustafa7/flwo: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/moustafa7/flwo/resolve/main/client/src/components/shared/PageHeader.jsx
- Command line
-
hf download hf://spaces/moustafa7/flwo/client/src/components/shared/PageHeader.jsx
-
curl -L -o PageHeader.jsx https://huggingface.co/spaces/moustafa7/flwo/resolve/main/client/src/components/shared/PageHeader.jsx
433 Bytes
| import { cn } from '../../utils/cn' | |
| export function PageHeader({ title, description, action, className }) { | |
| return ( | |
| <div className={cn('flex items-center justify-between mb-6', className)}> | |
| <div> | |
| <h1 className="text-2xl font-bold text-gray-900">{title}</h1> | |
| {description && <p className="text-sm text-gray-500 mt-1">{description}</p>} | |
| </div> | |
| {action && <div>{action}</div>} | |
| </div> | |
| ) | |
| } | |