@@ -3,6 +3,7 @@ import React, {Component} from 'react';
3
3
import {
4
4
View , Pressable , Dimensions , Linking ,
5
5
} from 'react-native' ;
6
+ import PropTypes from 'prop-types' ;
6
7
import Icon from '../Icon' ;
7
8
import * as Expensicons from '../Icon/Expensicons' ;
8
9
import Popover from '../Popover' ;
@@ -12,13 +13,22 @@ import GoogleMeetIcon from '../../../assets/images/google-meet.svg';
12
13
import CONST from '../../CONST' ;
13
14
import styles from '../../styles/styles' ;
14
15
import themeColors from '../../styles/themes/default' ;
15
- import withWindowDimensions from '../withWindowDimensions' ;
16
- import withLocalize from '../withLocalize' ;
16
+ import withWindowDimensions , { windowDimensionsPropTypes } from '../withWindowDimensions' ;
17
+ import withLocalize , { withLocalizePropTypes } from '../withLocalize' ;
17
18
import compose from '../../libs/compose' ;
18
19
import Navigation from '../../libs/Navigation/Navigation' ;
19
20
import ROUTES from '../../ROUTES' ;
20
21
import Tooltip from '../Tooltip' ;
21
- import { propTypes , defaultProps } from './videoChatButtonAndMenuPropTypes' ;
22
+ import { propTypes as videoChatButtonAndMenuPropTypes , defaultProps } from './videoChatButtonAndMenuPropTypes' ;
23
+
24
+ const propTypes = {
25
+ /** Link to open when user wants to create a new google meet meeting */
26
+ googleMeetURL : PropTypes . string . isRequired ,
27
+
28
+ ...videoChatButtonAndMenuPropTypes ,
29
+ ...withLocalizePropTypes ,
30
+ ...windowDimensionsPropTypes ,
31
+ } ;
22
32
23
33
class BaseVideoChatButtonAndMenu extends Component {
24
34
constructor ( props ) {
0 commit comments