Newer
Older
// @flow
import Navigation, { AkGlobalItem } from '@atlaskit/navigation';
import React, { Component } from 'react';
import { isElectronMac } from '../../utils';
import HelpAction from './HelpAction';
/**
* Navigation Bar component.
*/
class Navbar extends Component<*> {
/**
* Get the primary icon of Global Navigation.
*
* @returns {ReactElement}
*/
_getPrimaryIcon() {
return <Logo />;
}
/**
* Get the array of Secondary actions of Global Navigation.
<HelpAction />
</AkGlobalItem>
];
}
/**
* Render function of component.
*
*/
render() {
return (
<Navigation
globalPrimaryIcon = { this._getPrimaryIcon() }