Constructor
# <MobileNavLink isCurrentTab name icon route onClick isSignOutLink />
Renders the MobileNavLink component
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
isCurrentTab |
bool | No | Indicates if the tab is the currently selected tab | |
name |
string | Yes | The tab name | |
icon |
string | Yes | The tab icon | |
route |
string | No | Where to route if the tab is clicked on | |
onClick |
func | Yes | Click handler | |
isSignOutLink |
bool | Yes | Indicates if the link is a sign out link |
Methods
# inner getTabLine()
Gets a tab line if this MobileNavLink instance is the current tab
A tab line (JSX)