Nav

Nav: ComponentType<NavProps> = ...

A navigation component that can link to external or internal pages.

Please use this component combining with NavItem, NavLink and NavMenu (if a sub menu is needed).

Example:

         
1
2
3
4
5
6
7
8
9
import { Nav, NavItem, NavLink } from 'jimu-ui';
<Nav underline>
  <NavItem>
    <NavLink active>Home</NavLink>
  </NavItem>
  <NavItem>
    <NavLink>About</NavLink>
  </NavItem>
</Nav>

Props:

See NavProps for more details.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.