Download wp-calypso/client/reader/components/reader-blank-suggestions/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/components/reader-blank-suggestions/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/reader/components/reader-blank-suggestions/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/components/reader-blank-suggestions/index.js
621 Bytes
| import { localize } from 'i18n-calypso'; | |
| import './style.scss'; | |
| function BlankSuggestions( props ) { | |
| return ( | |
| <div className="reader-blank-suggestions"> | |
| { props.suggestions && props.suggestions.length > 0 && ( | |
| <> | |
| { props.translate( 'Suggestions: {{suggestions /}}, {{tagsLink /}}', { | |
| components: { | |
| suggestions: props.suggestions, | |
| tagsLink: ( | |
| <a href="/tags" onClick={ props.trackTagsPageLinkClick }> | |
| { props.translate( 'See all tags' ) } | |
| </a> | |
| ), | |
| }, | |
| } ) } | |
| </> | |
| ) } | |
| | |
| </div> | |
| ); | |
| } | |
| export default localize( BlankSuggestions ); | |