Skip to content

Instantly share code, notes, and snippets.

View bogoslavskiy's full-sized avatar

Artem Bogoslavskiy bogoslavskiy

View GitHub Profile
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 = {
import React from 'react';
import {
View,
Text,
StyleSheet,
TextInput,
InputAccessoryView,
Button,
ScrollView,
Dimensions,
import React from 'react';
import {
View,
Text,
StyleSheet,
TextInput,
Button,
FlatList,
Keyboard,
ActivityIndicator,
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';
export function getStatusBarHeight(skipAndroid = false) {
if (Platform.OS === 'ios') {
return ifIphoneX(44, 21);
}
if (skipAndroid) {
return 0;
}
return StatusBar.currentHeight;
import React from 'react';
import {
Image,
Platform,
ScrollView,
StyleSheet,
Text,
TouchableOpacity,
View,
} from 'react-native';
import React from 'react';
import {
ScrollView,
StyleSheet,
AsyncStorage,
View,
Text,
TouchableOpacity,
Image,
TouchableHighlight
import React from 'react';
import {
ScrollView,
StyleSheet,
AsyncStorage,
View,
Text,
TouchableOpacity,
Image,
TouchableHighlight
import React from 'react';
import {
ScrollView,
StyleSheet,
AsyncStorage,
View,
Text,
TouchableOpacity,
Image
} from 'react-native';
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';
/*