Skip to content
Snippets Groups Projects
Commit c0f5d0e2 authored by Akshit Kr Nagpal's avatar Akshit Kr Nagpal Committed by Saúl Ibarra Corretgé
Browse files

Added Prop validation in Navbar Component

parent 8ecfab1b
No related branches found
No related tags found
No related merge requests found
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment