|
Download wp-calypso/client/my-sites/plugins/plugins-browser/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 625 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugins-browser/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/plugins/plugins-browser/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugins-browser/README.md
625 Bytes
Plugins Browser
This component renders the main plugins browser page.
How to use
import BrowserMainView from 'calypso/my-sites/plugins/plugins-browser';
function render() {
return (
<div>
<BrowserMainView
site={ site }
sites={ sites }
category={ category }
search={ searchTerm }
path={ path }
/>
</div>
);
}
Props
site: a string containing the slug of the selected sitesites: a sites-list objectcategory: a string with the current selected categorysearch: a string with the current search term, if existspath: a string with the current url path