mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
first map component
This commit is contained in:
parent
4a2a343e41
commit
a4eec9e2ed
6 changed files with 37 additions and 34 deletions
|
@ -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 />
|
||||
);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue