UNPKG

@react-firebase/auth

Version:

Easily integrate Firebase Authentication in your react(or react-native) app.

22 lines (21 loc) 692 B
export interface InitializeAppArgs { authDomain: string; apiKey: string; databaseURL: string; firebase: any; projectId: string; messagingSenderId?: string; storageBucket?: string; appId?: string; measurementId?: string; } export declare type FirebaseAuthProviderProps = InitializeAppArgs; export declare type AuthEmission = { isSignedIn: boolean; providerId: ("none" | "google.com" | string) | null; user: any; firebase: any; }; export declare type FirebaseAuthProviderState = AuthEmission; export declare type ChildFunction = ((authState: AuthEmission) => any); export declare type RenderableChildren = ChildFunction;