import React from 'react';
import {Switch, Route} from "react-router-dom";
import Stock from '../Views/Stock';
import Home from '../Views/Home';
import Ticket from '../Views/Ticket';

 class AppRouter extends React.Component {
    render() {
      return (
        <>
            <Switch>
                <Route exact path="/stock" component={Stock}/>
                <Route exact path="/ticket" component={Ticket}/>
                <Route exact path="/" component={Home}/>
            </Switch>
        </>
      )
    }
  }

  export default AppRouter