Site Indicator
This component is used to display a round badge next to a site with information about updates available, connection issues with Jetpack, whether a site is Jetpack, upgrades expiring soon, etc. It takes site object as property.
How to use
import SiteIndicator from 'calypso/my-sites/site-indicator';
function render() {
return <SiteIndicator site={ siteObject } />;
}
Props
site
| Type | Object |
|---|---|
| Required | Yes |
The site object.
onSelect
| Type | Function |
|---|---|
| Required | No |