|
Download wp-calypso/client/my-sites/plugins/plugin-remove-button/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugin-remove-button/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/plugins/plugin-remove-button/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugin-remove-button/README.md
464 Bytes
Plugin Remove Button
This component is used to display a button that launch a remove action when clicked.
How to use
import PluginRemoveButton from 'calypso/my-sites/plugins/plugin-remove-button';
function render() {
return <PluginRemoveButton plugin={ plugin } site={ site } notices={ notices } />;
}
Props
plugin: a plugin object.site: a site object.notices: (object) Object of errored, inProgress, and completed actions.