converse-ai-support-library
Version:
A React component library for floating contact buttons (email, chat, call)
36 lines (35 loc) • 1.09 kB
TypeScript
export declare const CHAT_CONFIG: {
readonly AUTO_SCROLL_BEHAVIOR: ScrollBehavior;
readonly DEFAULT_PLACEHOLDER: "Type your chat message here";
readonly TYPING_INDICATOR_DELAY: 100;
readonly TIME_FORMAT_OPTIONS: {
readonly hour12: false;
readonly hour: "2-digit";
readonly minute: "2-digit";
};
readonly DATE_FORMAT_OPTIONS: {
readonly weekday: "long";
readonly year: "numeric";
readonly month: "long";
readonly day: "numeric";
};
readonly CACHE_EXPIRY_HOURS: 24;
readonly CACHE_KEY_PREFIX: "chatbot_conversation_";
};
export declare const QUICK_ACTIONS: readonly [{
readonly id: "test-drive";
readonly label: "Book a Test Drive for me asap";
readonly primary: true;
}, {
readonly id: "book-drive";
readonly label: "Book Test Drive";
readonly primary: false;
}, {
readonly id: "inquire-vehicle";
readonly label: "Inquire about Vehicle";
readonly primary: false;
}, {
readonly id: "finance";
readonly label: "Finance options";
readonly primary: false;
}];