|
Download wp-calypso/client/my-sites/plugins/plugins-list/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 753 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugins-list/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/plugins/plugins-list/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugins-list/README.md
753 Bytes
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.