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