This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import {StyledFirebaseAuth} from 'react-firebaseui' | |
import firebase from 'firebase' | |
// Configure FirebaseUI. | |
const uiConfig = { | |
// Popup signin flow rather than redirect flow. | |
signInFlow: 'redirect', | |
// Redirect to /signedIn after sign in is successful. Alternatively you can provide a callbacks.signInSuccess function. | |
signInSuccessUrl: '/signedin', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import './App.css'; | |
import fire from './fire'; | |
class App extends Component { | |
constructor() { | |
super() | |
this.state = { | |
messages: [], | |
message: "" |