File size: 529 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
# Plugin Icon

This component is used to display the icon for a plugin. It takes a plugin image as a prop.

## How to use

```js
import PluginIcon from 'calypso/my-sites/plugins/plugin-icon/plugin-icon';

function render() {
	return (
		<div className="your-stuff">
			<PluginIcon image={ plugin.icon } />
		</div>
	);
}
```

## Props

- `image` (`string`) - an image source.
- `isPlaceholder` (`bool`) - `true` to display as a placeholder.
- `className` (`string`) - A string that adds additional class names to this component.