diff options
author | Akshit Kr Nagpal <akshitkrnagpal@gmail.com> | 2018-06-29 11:27:38 +0530 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2018-06-29 08:27:47 +0100 |
commit | c0f5d0e208c15b75a5714fd738bdb5f37c72d79e (patch) | |
tree | 567afde3861a6bf855ca4fb53b2cbae42a2fe2ed | |
parent | 8ecfab1b5b86e2ef93c29a3ade3cc5d43179bc59 (diff) |
Added Prop validation in Navbar Component
-rw-r--r-- | app/features/navbar/components/Navbar.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/features/navbar/components/Navbar.js b/app/features/navbar/components/Navbar.js index 140dfb6..41e9e00 100644 --- a/app/features/navbar/components/Navbar.js +++ b/app/features/navbar/components/Navbar.js @@ -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. * |