components#NomalLayout TypeScript Examples

The following examples show how to use components#NomalLayout. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Routes.tsx    From Shopping-Cart with MIT License 6 votes vote down vote up
Routes = () => {
  return (
    <Router>
      <Switch>
        <NomalLayout>
          <Route exact path={ROOT_PATH} component={Cart} />
          <Route path={PRODUCTS_LIST_PATH} component={ProductsList} />
          <Route path={CART_PATH} component={Cart} />
        </NomalLayout>
      </Switch>
    </Router>
  );
}