react-live-chat-loader
react-live-chat-loader copied to clipboard
refactor: improve TypeScript definitions
This PR fixes the following TypeScript issues:
-
LiveChatLoaderProvidernot accepting multiple children, fixed by typing children asReactNodeinstead ofJSX.Element -
Messengercomponent required explicitly passingproviderKeyprop like so<Messenger providerKey={undefined} /> - missing optional
localeprop onLiveChatLoaderPropsused by Facebook Messenger
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| react-live-chat-loader | ✅ Ready (Inspect) | Visit Preview | Sep 21, 2022 at 4:34AM (UTC) |
Hey @tien, thanks for this. We recently updated TS types (see release 2.8.0) so this PR is no longer applicable. All the same, thanks for your contribution here. 💫