import Button from '@bit/grommet.grommet.button'; import Lodash from 'lodash';
The visual variant of the nav items.
Marks the NavItem with a matching
href if present) as active.
NavItems to proportionatly fill all available width.
NavItems to evenly fill all available width.
A callback fired when a NavItem is selected.
function ( Any eventKey, SyntheticEvent event? )
ARIA role for the Nav, in the context of a TabContainer, the default will be set to "tablist", but can be overridden by the Nav when set explicitly.
When the role is "tablist", NavLink focus is managed according to the ARIA authoring practices for tabs: https://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#tabpanel
Apply styling an alignment for use in a Navbar. This prop will be set automatically when the Nav is used inside a Navbar.