Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified

Plugins List

This component is used to represent a list PluginItems using the DataViews component.

How to use

import PluginsList from 'calypso/my-sites/plugins/plugins-list';

<PluginsList
    header={ this.props.translate( 'Plugins' ) }
    plugins={ this.getPlugins() }
    sites={ this.props.sites }
    selectedSite={ this.props.selectedSite }
    isPlaceholder={ this.showPluginListPlaceholders( true ) }
/>;

Props

  • plugins: An array of plugins objects.
  • header: A string describing the plugin list.
  • sites: An object describing the sites list object.
  • selectedSite: An object or false of the single site.
  • pluginUpdateCount: Number of plugin updates that need to happen.
  • isPlaceholder: Weather to show a placeholder.