We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import { Widget } from "react-chat-widget"; import "react-chat-widget/lib/styles.css";
export default function App() { return (
<Widget />
); }
The text was updated successfully, but these errors were encountered:
Check you react version. It didn't work for me w React 18. After downgrading to React 17, I was able to get it working
Sorry, something went wrong.
Right, it doesn't work with React 18 but works with previous versions.
Is this package still maintained? React 18 version would be very helpful. As a workaround, you can control it manually like this:
import { React, useEffect, useState } from "react"; const [chatWindowOpen, setChatWindowOpen] = useState(true); const handleToggle = (chatWindowOpen) => { setChatWindowOpen(!chatWindowOpen); }; <Widget handleNewUserMessage={handleNewUserMessage} handleToggle={handleToggle} />
No branches or pull requests
import { Widget } from "react-chat-widget";
import "react-chat-widget/lib/styles.css";
export default function App() {
return (
);
}
The text was updated successfully, but these errors were encountered: