klummy
5/10/2018 - 8:13 AM

Dashboard Example.js

class App extends Component {
  render () {
    return (
      <React.Fragment>
        <Switch>
          <Route
            component={Landing}
            exact
            path='/'
          />

          <AppWrapper>
            <Route
              component={DashboardItemOne}
              path='/dashboard'
            />
            
            <Route
              component={DashboardItemOne}
              path='/dashboard/item'
            />
          </AppWrapper>

        </Switch>
      </React.Fragment>
    )
  }
}