oneskies-live-chat-widget
v0.1.19
Published
Reusable first-party React live chat widget for connecting a public website to a backend-powered support inbox.
Downloads
2,539
Readme
Live Chat Widget
Reusable first-party React live chat widget for connecting a public website to a backend-powered support inbox.
Install
npm install oneskies-live-chat-widgetUsage
import { LiveChatWidget } from "oneskies-live-chat-widget";
export function AppLiveChat() {
return (
<LiveChatWidget
apiBaseUrl="https://api.example.com/api/v1"
apiKey="public-api-key"
brandName="Your Brand"
leadSource="website"
supportLabel="Support"
/>
);
}The package also exports LiveChatTypingGhost for staff-side typing previews.
Build
npm install
npm run build