Spaces:
Configuration error
Configuration error
Download frontend/src/components/shared/modals/base-modal/header-content.tsx from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/modals/base-modal/header-content.tsx
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/components/shared/modals/base-modal/header-content.tsx
-
curl -L -o header-content.tsx https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/components/shared/modals/base-modal/header-content.tsx
368 Bytes
| import React from "react"; | |
| interface HeaderContentProps { | |
| maintitle: string; | |
| subtitle?: string; | |
| } | |
| export function HeaderContent({ | |
| maintitle, | |
| subtitle = undefined, | |
| }: HeaderContentProps) { | |
| return ( | |
| <> | |
| <h3>{maintitle}</h3> | |
| {subtitle && ( | |
| <span className="text-neutral-400 text-sm font-light">{subtitle}</span> | |
| )} | |
| </> | |
| ); | |
| } | |