mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-04-26 14:14:52 +02:00
Added Prop validation in Navbar Component
This commit is contained in:
parent
8ecfab1b5b
commit
c0f5d0e208
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue