diff --git a/.changeset/nice-dryers-begin.md b/.changeset/nice-dryers-begin.md new file mode 100644 index 00000000..35b5d443 --- /dev/null +++ b/.changeset/nice-dryers-begin.md @@ -0,0 +1,5 @@ +--- +'react-use-intercom': minor +--- + +Added crossOrigin, onLoad, and onLoadFailed config options diff --git a/README.md b/README.md index 65616e20..1ae043a4 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,9 @@ Place the `IntercomProvider` as high as possible in your application. This will | apiBase | string | If you need to route your Messenger requests through a different endpoint than the default. Generally speaking, this is not needed.
Format: `https://${INTERCOM_APP_ID}.intercom-messenger.com` (See: [https://github.com/devrnt/react-use-intercom/pull/96](https://github.com/devrnt/react-use-intercom/pull/96)) | false | | | initializeDelay | number | Indicates if the intercom initialization should be delayed, delay is in ms, defaults to 0. See https://github.com/devrnt/react-use-intercom/pull/236 | false | | | autoBootProps | IntercomProps | Pass properties to `boot` method when `autoBoot` is `true` | false | | +| crossOrigin | string | `crossOrigin` attribute value to pass to `