Add placeOrderButtonLabel docs

This commit is contained in:
Mike Jolley 2020-04-30 10:55:26 +01:00 committed by GitHub
parent 1fd0fa79a9
commit 4c16280977
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ The options you feed the configuration instance are the same as those for expres
- `label`: This should be a react node that will be used to output the label for the tab in the payment methods are. For example it might be `<strong>Credit/Debit Cart</strong>` or you might output images.
- `ariaLabel`: This is the label that will be read out via screen-readers when the payment method is selected.
- `placeOrderButtonLabel`: : This is an optional label which will change the default "Place Order" button text to something else when the payment method is selected.
### Props Fed to Payment Method Nodes