UNPKG

@cossistant/next

Version:

Next.js-ready SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.

21 lines (19 loc) 706 B
import * as React$1 from "react"; //#region ../react/src/primitives/bubble.d.ts /** * Floating action button that toggles the support window. Exposes widget state * and unread counts to render-prop children for fully custom UI shells. */ declare const SupportBubble: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children"> & { children?: React$1.ReactNode | ((props: { isOpen: boolean; unreadCount: number; isTyping: boolean; toggle: () => void; }) => React$1.ReactNode); asChild?: boolean; className?: string; } & React$1.RefAttributes<HTMLButtonElement>>; //#endregion export { SupportBubble }; //# sourceMappingURL=bubble.d.ts.map