Download wp-calypso/client/reader/lib/header-section/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/lib/header-section/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/reader/lib/header-section/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/lib/header-section/index.tsx
494 Bytes
| import { useTranslate } from 'i18n-calypso'; | |
| import React from 'react'; | |
| const ReaderHeader = () => { | |
| const translate = useTranslate(); | |
| return ( | |
| <div className="logged-out-reader-header"> | |
| <h2> | |
| { | |
| // translators: The title of the reader tag page | |
| translate( 'WordPress Reader' ) | |
| } | |
| </h2> | |
| <h1>{ translate( 'Enjoy millions of blogs at your fingertips.' ) }</h1> | |
| </div> | |
| ); | |
| }; | |
| const renderHeaderSection = () => <ReaderHeader />; | |
| export default renderHeaderSection; | |