text: import React, { Component } from "react";
  import AddEmployee from "./Components/AddEmployee";
  import { Route, BrowserRouter as Router } from "react-router-dom";
  import Table from "./Components/Table";
  
  class App extends Component {
    render() {
      return (
        <Router>
          <Route exact path="/" component={AddEmployee} />
          <Route exact path="/view" component={Table} />
        </Router>
      );
    }
  }
  
  export default App;
  