30 lines
677 B
JavaScript
30 lines
677 B
JavaScript
import React from 'react';
|
|
|
|
import Hello from '../components/hello';
|
|
//TODO Why is this component not working?
|
|
//import Map from '../components/map';
|
|
import MapSimple from '../components/map-simple';
|
|
import MapNext from '../components/map-next';
|
|
import MapNxt from '../components/map-nxt';
|
|
//TODO Why is this component not working?
|
|
//import MapNxt2 from '../components/map-nxt2';
|
|
import '../style.css';
|
|
|
|
const Home = () => {
|
|
return (
|
|
<>
|
|
<h2>Home</h2>
|
|
<h3>(React.js Lambda Function Component)</h3>
|
|
<Hello msg="Hello World!" />
|
|
{/**<Map />*/}
|
|
<MapNext />
|
|
<br />
|
|
<MapNxt />
|
|
<br />
|
|
<MapSimple />
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default Home
|