@kiwicom/smart-faq
Version:
Smart FAQ
35 lines (30 loc) • 822 B
JavaScript
/*:: import type { CuckooLogger } from './shared/cuckoo/cuckooTypes';*/
/*:: export type User = {
id: ?string,
email: string,
firstname: ?string,
lastname: ?string,
};*/
/*:: export type onLogin = () => void;*/
/*:: export type onLogout = () => Promise<*>;*/
/*:: export type Provider = 'facebook' | 'google';*/
/*:: export type SmartFAQProps = {|
isOpen: boolean,
openArticle: ?string,
cuckoo?: CuckooLogger,
translations: { [key: string]: string } | null,
language: string,
brand: string,
user: ?User,
bid: ?number,
loginToken: ?string,
simpleToken: ?string,
kwAuthToken: ?string,
onToggle: (shouldBeOpened: boolean) => void,
onLogin: onLogin,
onLogout: onLogout,
emergencies: string[],
enableChat: boolean,
chatConfig: { [key: string]: string } | null,
|};*/
;