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 { View, StyleSheet, ActivityIndicator } from 'react-native'; | |
import { FlatList } from '../searchBarAnimation'; | |
import { List, ListItem } from 'react-native-elements'; | |
export default class Tab extends React.PureComponent { | |
constructor(props) { | |
super(props); | |
this.state = { |
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 { | |
View, | |
Text, | |
StyleSheet, | |
TextInput, | |
InputAccessoryView, | |
Button, | |
ScrollView, | |
Dimensions, |
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 { | |
View, | |
Text, | |
StyleSheet, | |
TextInput, | |
Button, | |
FlatList, | |
Keyboard, | |
ActivityIndicator, |
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, { Component } from "react"; | |
import { | |
StyleSheet, | |
Text, | |
TouchableOpacity, | |
View, | |
ScrollView | |
} from "react-native"; | |
import Modal from "react-native-modal"; | |
import { Viewport, getStatusBarHeight } from '../utils'; |
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
export function getStatusBarHeight(skipAndroid = false) { | |
if (Platform.OS === 'ios') { | |
return ifIphoneX(44, 21); | |
} | |
if (skipAndroid) { | |
return 0; | |
} | |
return StatusBar.currentHeight; |
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 { | |
Image, | |
Platform, | |
ScrollView, | |
StyleSheet, | |
Text, | |
TouchableOpacity, | |
View, | |
} from 'react-native'; |
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 { | |
ScrollView, | |
StyleSheet, | |
AsyncStorage, | |
View, | |
Text, | |
TouchableOpacity, | |
Image, | |
TouchableHighlight |
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 { | |
ScrollView, | |
StyleSheet, | |
AsyncStorage, | |
View, | |
Text, | |
TouchableOpacity, | |
Image, | |
TouchableHighlight |
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 { | |
ScrollView, | |
StyleSheet, | |
AsyncStorage, | |
View, | |
Text, | |
TouchableOpacity, | |
Image | |
} from 'react-native'; |
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 { StyleSheet, View } from 'react-native'; | |
import { MapView, Marker } from 'expo'; | |
import { Viewport } from '../utils'; | |
import MyLocationMapMarker from '../components/Maps/MyLocationMapMarker'; | |
/* | |