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