import React from 'react';
import { BrowserRouter, Route } from 'react-router-dom';

import ModalSwitch from './ModalSwitch/ModalSwitch';
import './App.css';

class App extends React.Component {
    render() {
        return (
            <BrowserRouter>
                <div>
                    <h1>Fantastic Gallery</h1>
                    <hr/>
                    <Route component={ModalSwitch}/>
                </div>
            </BrowserRouter>
        );
    }
}

export default App;
