1 import { Component, render } from 'inferno';
2 import { Link, Route, StaticRouter, Switch } from 'inferno-router';
3 import About from '../About/About';
4 import Home from '../Home/Home';
9 export default class App extends Component<IProps, IState> {
17 <h3>{this.props.name}</h3>
24 <Link to="/About" className="link">
31 <Route exact path="/Home" component={Home} />
32 <Route exact path="/About" component={About} />