@kiwicom/smart-faq
Version:
Smart FAQ
41 lines (35 loc) • 978 B
JavaScript
/*:: import type { Brand } from '@kiwicom/nitro/lib/records/Brand';*/
/*:: import type { CuckooLogger } from './shared/cuckoo/cuckooTypes';*/
/*:: export type User = {
id: string,
email: string,
firstname: string,
lastname: string,
} | null;*/
/*:: export type onLogin = () => void;*/
/*:: export type onLogout = () => Promise<*>;*/
/*:: export type Provider = 'facebook' | 'google';*/
/*:: export type SmartFAQProps = {|
cuckoo?: CuckooLogger,
translations: { [key: string]: string } | null,
language: string,
brand: string,
brandConfig: Brand,
direction: string,
user: User,
bid: ?number,
loginToken: ?string,
simpleToken: ?string,
kwAuthToken: ?string,
route: ?string,
showBooking: boolean,
onClose: () => void,
onLogin: onLogin,
onLogout: onLogout,
onToggleIsClosable: boolean => void,
emergencies: string[],
enableChat: boolean,
chatConfig: { [key: string]: string } | null,
isChatActive: boolean,
|};*/
;