devrnt / react-use-intercom

☎️ React Intercom integration without the hassle, powered by hooks.
https://devrnt.github.io/react-use-intercom/#/useIntercom
MIT License
328 stars 43 forks source link

Added `crossOrigin`, `onLoad`, and `onLoadFailed` config options #675

Open fluidsonic opened 2 weeks ago

fluidsonic commented 2 weeks ago
<IntercomProvider
    …
    crossOrigin="anonymous"
    onLoad={() => console.log("Loaded!")}
    onLoadFailed={() => console.log("Failed to load!")}
>
changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: e7954c5f5d6c35e724bffe5c168b1057da7a2c60

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | react-use-intercom | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR