import React from 'react';
import { Hello } from './Hello.jsx';
import { Info } from './Info.jsx';
import { BrowserRouter, Routes, Route, Link } from 'react-router-dom';

export const App = () => (
  <BrowserRouter>
    <Routes>
      <Route path="/" element={ <>
        <div>
          <h1>Welcome to Meteor!</h1>
          <Hello/>
          <Info/>
        </div>
      </>} />
    </Routes>
  </BrowserRouter>
);
