@kiwicom/smart-faq
Version:
31 lines (26 loc) • 721 B
JavaScript
/*:: export type User = {
id: string,
email: string,
firstname: string,
lastname: string,
} | null;*/
/*:: export type onLogin = (string, string) => Promise<*>;*/
/*:: export type onLogout = () => Promise<*>;*/
/*:: export type Provider = 'facebook' | 'google';*/
/*:: export type onSocialLogin = Provider => Promise<*>;*/
/*:: export type AppProps = {|
language: string,
user: User,
loginToken: ?string,
route: ?string,
simpleToken: ?string,
onClose: () => void,
onLogin: onLogin,
onSocialLogin: onSocialLogin,
onLogout: onLogout,
onAppWithOpenChatClose: boolean => void,
emergencies: string[],
enableChat: boolean,
chatConfig: { [key: string]: string } | null,
|};*/
;