@developer.notchatbot/webchat
Version:
A beautiful React chatbot widget with single-file bundle
28 lines (27 loc) • 1.19 kB
TypeScript
export declare const COMPANY_CONFIG: {
readonly apiKey: "{{ API_KEY }}";
readonly primaryColor: "{{ PRIMARY_COLOR }}";
readonly avatar: "{{ AVATAR_URL }}";
readonly title: "{{ TITLE }}";
readonly placeholder: "{{ PLACEHOLDER }}";
readonly initialMessage: "{{ INITIAL_MESSAGE }}";
readonly position: "{{ POSITION }}";
readonly marginBottom: "{{ MARGIN_BOTTOM }}";
readonly marginSide: "{{ MARGIN_SIDE }}";
readonly showPopup: "{{ SHOW_POPUP }}";
readonly mobile: {
readonly position: "{{ MOBILE_POSITION }}";
readonly marginBottom: "{{ MOBILE_MARGIN_BOTTOM }}";
readonly marginSide: "{{ MOBILE_MARGIN_SIDE }}";
readonly showPopup: "{{ MOBILE_SHOW_POPUP }}";
};
readonly desktop: {
readonly position: "{{ DESKTOP_POSITION }}";
readonly marginBottom: "{{ DESKTOP_MARGIN_BOTTOM }}";
readonly marginSide: "{{ DESKTOP_MARGIN_SIDE }}";
readonly showPopup: "{{ DESKTOP_SHOW_POPUP }}";
};
readonly closeButtonIcon: "{{ CLOSE_BUTTON_ICON }}";
readonly closeButtonText: "{{ CLOSE_BUTTON_TEXT }}";
readonly closeButtonCustomIcon: "{{ CLOSE_BUTTON_CUSTOM_ICON }}";
};