Download wp-calypso/client/dashboard/components/page-header/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 638 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/components/page-header/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/dashboard/components/page-header/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/dashboard/components/page-header/index.tsx
638 Bytes
| import { SectionHeader } from '../section-header'; | |
| import type { PageHeaderProps } from './types'; | |
| /** | |
| * The PageHeader component provides a structured introduction to a page or section, | |
| * combining a title, optional description, and contextual actions. It can include | |
| * visual decorations, navigational aids like breadcrumbs, and utility controls | |
| * such as buttons or dropdowns. | |
| * | |
| * It's a thin wrapper around the SectionHeader component, primarily used for | |
| * semantic clarity. | |
| */ | |
| export const PageHeader = ( props: PageHeaderProps ) => { | |
| return <SectionHeader { ...props } level={ 1 } className="dashboard-page-header" />; | |
| }; | |