first map component

This commit is contained in:
Fedor Katurov 2018-08-15 11:40:40 +07:00
parent 4a2a343e41
commit a4eec9e2ed
6 changed files with 37 additions and 34 deletions

View file

@ -1,12 +1,16 @@
import React from 'react';
import { Map } from "$containers/Map";
import { Map } from '../modules/map';
import { MapScreen } from "$styles/mapScreen";
export class App extends React.Component {
render(){
return (
<div>
componentDidMount() {
this.map = new Map('map');
}
</div>
)
render() {
return (
<MapScreen />
);
}
};