UNPKG

@xapp/chat-widget

Version:
22 lines (21 loc) 617 B
import 'rollup-plugin-inject-process-env'; import { FC } from "react"; import { Cta } from "@xapp/stentor-chat-widget"; import "./ChatButton.scss"; export type ChatButtonBorderStyle = { width?: number; color?: string; }; export interface ChatButtonProps { readonly onClick: () => void; /** * Optional class to add to the root <button> tag */ readonly addClass?: string; readonly config?: Cta; readonly visible: boolean; readonly borderStyle?: ChatButtonBorderStyle; readonly imageUrl?: string; } declare const ChatButton: FC<ChatButtonProps>; export default ChatButton;