The main nav used in various admin apps, without nav items.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props | object | Component props. Properties
| ||||||||||||
ref | object | | Ref to the component. |
- Since
- 1.1.15
- Source
Returns:
The NavBar component.
- Type:
- JSX.
Element
Example
import NavBar from '@gravityforms/components/react/admin/modules/NavBar';
return (
<NavBar customClasses={ [ 'example-class' ] }>
{ children }
</NavBar>
);