|
Download wp-calypso/client/my-sites/plugins/plugins-discovery-page/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 840 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugins-discovery-page/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/plugins/plugins-discovery-page/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugins-discovery-page/README.md
840 Bytes
Plugins Discovery Page
This component renders the plugins browser discovery page.
How to use
import PluginsDiscoveryPage from 'calypso/my-sites/plugins/discovery-page';
function render() {
return (
<div>
<PluginsDiscoveryPage
clearSearch={ clearSearch }
search={ search }
category={ category }
sites={ sites }
searchTitle={ searchTitle }
siteSlug={ siteSlug }
siteId={ siteId }
jetpackNonAtomic={ jetpackNonAtomic }
selectedSite={ selectedSite }
sitePlan={ sitePlan }
isVip={ isVip }
/>
</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