UNPKG

reactjs-freshchat

Version:

A Reactjs component wrapper for Freshchat web-sdk api.

27 lines (26 loc) 683 B
declare type FreshchatInitProps = { token: string; externalId?: string; firstName?: string; lastName?: string; host?: string; restoreId?: string; email?: string; phone?: string; phoneCountryCode?: string; config?: any; open?: boolean; tags?: [string]; faqTags?: any; locale?: string; }; export interface FreshchatStyles { backgroundColor: string; color: string; } export interface FreshChatProps extends FreshchatInitProps { label?: string; ic_styles?: FreshchatStyles; } export declare function Freshchat({ label, ic_styles, ...rest }: FreshChatProps): JSX.Element | null; export {};