Added Prop validation in Navbar Component

This commit is contained in:
Akshit Kr Nagpal 2018-06-29 11:27:38 +05:30 committed by Saúl Ibarra Corretgé
parent 8ecfab1b5b
commit c0f5d0e208

View file

@ -12,10 +12,18 @@ import { isElectronMac } from '../../utils';
import HelpButton from './HelpButton';
import Logo from './Logo';
type Props = {
/**
* Whether Settings Drawer is open or not.
*/
_isSettingsDrawerOpen: boolean;
};
/**
* Navigation Bar component.
*/
class Navbar extends Component<*> {
class Navbar extends Component<Props, *> {
/**
* Get the array of Primary actions of Global Navigation.
*