File size: 625 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# Plugins Browser
This component renders the main plugins browser page.
## How to use
```js
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 site
- `sites`: a sites-list object
- `category`: a string with the current selected category
- `search`: a string with the current search term, if exists
- `path`: a string with the current url path
|