Components

MobileNav

<MobileNav show tabs onSignOutClick onNavLinkClick />

Constructor

# <MobileNav show tabs onSignOutClick onNavLinkClick />

Renders the MobileNav component
PropTypes:
Name Type Required Description Default
show bool Yes Indicates if the mobile nav should be displayed
tabs arrayOf Yes Mobile nav tabs
onSignOutClick func Yes Sign out click handler
onNavLinkClick func Yes Nav link click handler
Author:

View Source components/MobileNav/MobileNav.js, line 21

Methods

Gets MobileNavLink components

View Source components/MobileNav/MobileNav.js, line 34

MobileNavLink components (JSX)

# inner getShowOrHideClassName() → {string}

Gets the show/hide class name based on the props show property

View Source components/MobileNav/MobileNav.js, line 26

The show/hide class name
string