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, { useEffect, useState } from "react"; | |
| import L from "leaflet"; | |
| import "leaflet/dist/leaflet.css"; | |
| import styled from "styled-components"; | |
| import Pin from "../assets/Pin.svg"; | |
| import { responsiveHelpers as rh } from "styles/utils"; | |
| const Wrapper = styled.div` | |
| width: ${props => props.width}; |
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 L from 'leaflet'; | |
| import 'leaflet/dist/leaflet.css'; | |
| import styled from 'styled-components'; | |
| import {TileLayer, Marker, Popup } from 'react-leaflet' | |
| const Wrapper = styled.div` | |
| width: ${props => props.width}; | |
| height: ${props => props.height}; | |
| `; |
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, Text, View, Image } from 'react-native'; | |
| import {BottomNavigator} from './BottomNav' | |
| import HomePage from './components/Home' | |
| import {createStackNavigator} from 'react-navigation' | |
| export default class App extends React.Component { | |
| render() { | |
| return ( |
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 {HomePage} from './Home' | |
| import {Profile} from './Profiles' | |
| import {AddButton} from './AddButton' | |
| import { createBottomTabNavigator, createAppContainer } from 'react-navigation' | |
| import { StyleSheet, Text, View, Image } from 'react-native'; | |
| import { Write } from './WritePage'; | |
| const BottomNavigator = createBottomTabNavigator({ | |
| Home: { |