File size: 840 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
33
34
35
36
37
38
# Plugins Discovery Page

This component renders the plugins browser discovery page.

## How to use

```js
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 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