woocommerce/plugins/woocommerce-admin/packages/components/src/plugins
Fernando 09d6bd9164 Fixed a few console errors in JS tests (https://github.com/woocommerce/woocommerce-admin/pull/6472)
* Fixed connect test

* Fixed plugins test

* Fixed stock panel tests

* Added changelog

# Conflicts:
#	readme.txt

* Removed blank line

* Changelog line removed

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-03-04 09:15:03 -03:00
..
test Fixed a few console errors in JS tests (https://github.com/woocommerce/woocommerce-admin/pull/6472) 2021-03-04 09:15:03 -03:00
README.md Fix components internal deps (https://github.com/woocommerce/woocommerce-admin/pull/5018) 2020-08-28 11:55:48 +12:00
index.js Style updates to tax task (https://github.com/woocommerce/woocommerce-admin/pull/5709) 2020-12-02 09:27:50 -05:00

README.md

Plugins

Use Plugins to install and activate a list of plugins.

Usage

<Plugins
	onComplete={ this.complete }
	pluginSlugs={ [ 'jetpack', 'woocommerce-services' ] }
/>

Props

Name Type Default Description
onComplete Function Called when the plugin installer is completed
onError Function Called when the plugin installer completes with an error
onSkip Function noop Called when the plugin installer is skipped
skipText String Text used for the skip installer button
autoInstall Boolean false If installation should happen automatically, or require user confirmation
pluginSlugs Array [ 'jetpack', 'woocommerce-services' ], An array of plugin slugs to install.