This file contains hidden or 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 from "react"; | |
import { render } from "react-dom"; | |
import styled from "styled-components"; | |
const InputGroup = styled.div` | |
position: relative; | |
display: flex; | |
align-items: stretch; | |
flex-wrap: no-wrap; | |
`; |
This file contains hidden or 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
# index.ios.js and index.android.js | |
import './components/App.js'; | |
# components/App.js | |
'use strict'; | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, |
This file contains hidden or 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
# index.ios.js and index.android.js | |
import './app.js'; |
This file contains hidden or 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
# firebaseConfig.js | |
... | |
import * as firebase from 'firebase'; | |
... |
This file contains hidden or 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
# firebaseConfig.js | |
... | |
// Initialize Firebase | |
const firebaseConfig = { | |
apiKey: "<your-api-key>", | |
authDomain: "<your-auth-domain>", | |
databaseURL: "<your-database-url>", | |
storageBucket: "<your-storage-bucket>" | |
}; |
This file contains hidden or 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
# index.ios.js and/or index.android.js | |
... | |
import firebaseApp from './firebaseConfig.js'; | |
... |
This file contains hidden or 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
# firebaseConfig.js | |
... | |
import * as firebase from 'firebase'; | |
... |
This file contains hidden or 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
# App.js | |
... | |
class GreenScreen extends Component { | |
render() { | |
return( | |
<View style={styles.green}> | |
... | |
<TouchableHighlight | |
style={styles.button} |
NewerOlder