Skip to content

Commit 1021dff

Browse files
committed
📚 update docs with htmlContentHead
1 parent d50b979 commit 1021dff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export default MyStripeCheckout;
8282
- `options` (?Object) - custom options to display content in the webview
8383
- `htmlContentLoading` (String) - Html string to display a loading indication. - default: `<h1 id="sc-loading">Loading...</h1>` - note: The loading item is set on the element with id='sc-loading'
8484
- `htmlContentError` (String) - Html string to display stripe errors. - default: `<div id="sc-error-message"></div>` - note: The error is set on the element with id='sc-error-message'
85+
- `htmlContentHead` (String) - Html string to inject in head. - default: ''
8586
- `webViewProps` (?Object) - WebView Component props, spread on the WebView Component.
8687
- `renderOnComplete` (?(props) => React$Node) - Optional rendering function returning a component to display upon checkout completion. note: You don't need this if your onSuccess and onCancel functions navigate away from the component.
8788

0 commit comments

Comments
 (0)