浏览代码

Coding style

master
Lyubo Marinov 7 年前
父节点
当前提交
447035c8b2

+ 1
- 1
react/features/always-on-top/AlwaysOnTop.js 查看文件

31
     _hovered: boolean;
31
     _hovered: boolean;
32
 
32
 
33
     /**
33
     /**
34
-     * Initializes new AlwaysOnTop instance.
34
+     * Initializes a new {@code AlwaysOnTop} instance.
35
      *
35
      *
36
      * @param {*} props - The read-only properties with which the new instance
36
      * @param {*} props - The read-only properties with which the new instance
37
      * is to be initialized.
37
      * is to be initialized.

+ 4
- 3
react/features/always-on-top/AudioMuteButton.js 查看文件

112
      * Indicates if audio is currently muted ot nor.
112
      * Indicates if audio is currently muted ot nor.
113
      *
113
      *
114
      * @override
114
      * @override
115
-     * @private
115
+     * @protected
116
      * @returns {boolean}
116
      * @returns {boolean}
117
      */
117
      */
118
     _isAudioMuted() {
118
     _isAudioMuted() {
123
      * Indicates whether this button is disabled or not.
123
      * Indicates whether this button is disabled or not.
124
      *
124
      *
125
      * @override
125
      * @override
126
-     * @private
126
+     * @protected
127
      * @returns {boolean}
127
      * @returns {boolean}
128
      */
128
      */
129
     _isDisabled() {
129
     _isDisabled() {
133
     /**
133
     /**
134
      * Changes the muted state.
134
      * Changes the muted state.
135
      *
135
      *
136
+     * @override
136
      * @param {boolean} audioMuted - Whether audio should be muted or not.
137
      * @param {boolean} audioMuted - Whether audio should be muted or not.
137
-     * @private
138
+     * @protected
138
      * @returns {void}
139
      * @returns {void}
139
      */
140
      */
140
     _setAudioMuted(audioMuted: boolean) { // eslint-disable-line no-unused-vars
141
     _setAudioMuted(audioMuted: boolean) { // eslint-disable-line no-unused-vars

+ 1
- 1
react/features/always-on-top/HangupButton.js 查看文件

13
      * Helper function to perform the actual hangup action.
13
      * Helper function to perform the actual hangup action.
14
      *
14
      *
15
      * @override
15
      * @override
16
-     * @private
16
+     * @protected
17
      * @returns {void}
17
      * @returns {void}
18
      */
18
      */
19
     _doHangup() {
19
     _doHangup() {

+ 4
- 3
react/features/always-on-top/VideoMuteButton.js 查看文件

88
      * Indicates whether this button is disabled or not.
88
      * Indicates whether this button is disabled or not.
89
      *
89
      *
90
      * @override
90
      * @override
91
-     * @private
91
+     * @protected
92
      * @returns {boolean}
92
      * @returns {boolean}
93
      */
93
      */
94
     _isDisabled() {
94
     _isDisabled() {
99
      * Indicates if video is currently muted ot nor.
99
      * Indicates if video is currently muted ot nor.
100
      *
100
      *
101
      * @override
101
      * @override
102
-     * @private
102
+     * @protected
103
      * @returns {boolean}
103
      * @returns {boolean}
104
      */
104
      */
105
     _isVideoMuted() {
105
     _isVideoMuted() {
109
     /**
109
     /**
110
      * Changes the muted state.
110
      * Changes the muted state.
111
      *
111
      *
112
+     * @override
112
      * @param {boolean} videoMuted - Whether video should be muted or not.
113
      * @param {boolean} videoMuted - Whether video should be muted or not.
113
-     * @private
114
+     * @protected
114
      * @returns {void}
115
      * @returns {void}
115
      */
116
      */
116
     _setVideoMuted(videoMuted: boolean) { // eslint-disable-line no-unused-vars
117
     _setVideoMuted(videoMuted: boolean) { // eslint-disable-line no-unused-vars

+ 4
- 5
react/features/base/toolbox/components/AbstractAudioMuteButton.js 查看文件

18
      * accordingly.
18
      * accordingly.
19
      *
19
      *
20
      * @override
20
      * @override
21
-     * @private
21
+     * @protected
22
      * @returns {void}
22
      * @returns {void}
23
      */
23
      */
24
     _handleClick() {
24
     _handleClick() {
29
      * Helper function to be implemented by subclasses, which must return a
29
      * Helper function to be implemented by subclasses, which must return a
30
      * boolean value indicating if audio is muted or not.
30
      * boolean value indicating if audio is muted or not.
31
      *
31
      *
32
-     * @abstract
33
-     * @private
32
+     * @protected
34
      * @returns {boolean}
33
      * @returns {boolean}
35
      */
34
      */
36
     _isAudioMuted() {
35
     _isAudioMuted() {
41
      * Indicates whether this button is in toggled state or not.
40
      * Indicates whether this button is in toggled state or not.
42
      *
41
      *
43
      * @override
42
      * @override
44
-     * @private
43
+     * @protected
45
      * @returns {boolean}
44
      * @returns {boolean}
46
      */
45
      */
47
     _isToggled() {
46
     _isToggled() {
53
      * action.
52
      * action.
54
      *
53
      *
55
      * @param {boolean} audioMuted - Whether video should be muted or not.
54
      * @param {boolean} audioMuted - Whether video should be muted or not.
56
-     * @private
55
+     * @protected
57
      * @returns {void}
56
      * @returns {void}
58
      */
57
      */
59
     _setAudioMuted(audioMuted: boolean) { // eslint-disable-line no-unused-vars
58
     _setAudioMuted(audioMuted: boolean) { // eslint-disable-line no-unused-vars

+ 7
- 8
react/features/base/toolbox/components/AbstractButton.js 查看文件

23
     toggledStyles: ?Styles,
23
     toggledStyles: ?Styles,
24
 
24
 
25
     /**
25
     /**
26
-     * From which direction the tooltip should appear, relative to the
27
-     * button.
26
+     * From which direction the tooltip should appear, relative to the button.
28
      */
27
      */
29
     tooltipPosition: string,
28
     tooltipPosition: string,
30
 
29
 
87
      * Initializes a new {@code AbstractButton} instance.
86
      * Initializes a new {@code AbstractButton} instance.
88
      *
87
      *
89
      * @param {Props} props - The React {@code Component} props to initialize
88
      * @param {Props} props - The React {@code Component} props to initialize
90
-     * the new {@code AbstractAudioMuteButton} instance with.
89
+     * the new {@code AbstractButton} instance with.
91
      */
90
      */
92
     constructor(props: P) {
91
     constructor(props: P) {
93
         super(props);
92
         super(props);
94
 
93
 
94
+        // Bind event handlers so they are only bound once per instance.
95
         this._onClick = this._onClick.bind(this);
95
         this._onClick = this._onClick.bind(this);
96
     }
96
     }
97
 
97
 
99
      * Helper function to be implemented by subclasses, which should be used
99
      * Helper function to be implemented by subclasses, which should be used
100
      * to handle the button being clicked / pressed.
100
      * to handle the button being clicked / pressed.
101
      *
101
      *
102
-     * @abstract
103
-     * @private
102
+     * @protected
104
      * @returns {void}
103
      * @returns {void}
105
      */
104
      */
106
     _handleClick() {
105
     _handleClick() {
138
      * Helper function to be implemented by subclasses, which must return a
137
      * Helper function to be implemented by subclasses, which must return a
139
      * boolean value indicating if this button is disabled or not.
138
      * boolean value indicating if this button is disabled or not.
140
      *
139
      *
141
-     * @private
140
+     * @protected
142
      * @returns {boolean}
141
      * @returns {boolean}
143
      */
142
      */
144
     _isDisabled() {
143
     _isDisabled() {
147
 
146
 
148
     /**
147
     /**
149
      * Helper function to be implemented by subclasses, which must return a
148
      * Helper function to be implemented by subclasses, which must return a
150
-     * boolean value indicating if this button is toggled or not.
149
+     * {@code boolean} value indicating if this button is toggled or not.
151
      *
150
      *
152
-     * @private
151
+     * @protected
153
      * @returns {boolean}
152
      * @returns {boolean}
154
      */
153
      */
155
     _isToggled() {
154
     _isToggled() {

+ 2
- 3
react/features/base/toolbox/components/AbstractHangupButton.js 查看文件

15
     /**
15
     /**
16
      * Handles clicking / pressing the button, and disconnects the conference.
16
      * Handles clicking / pressing the button, and disconnects the conference.
17
      *
17
      *
18
-     * @private
18
+     * @protected
19
      * @returns {void}
19
      * @returns {void}
20
      */
20
      */
21
     _handleClick() {
21
     _handleClick() {
25
     /**
25
     /**
26
      * Helper function to perform the actual hangup action.
26
      * Helper function to perform the actual hangup action.
27
      *
27
      *
28
-     * @abstract
29
-     * @private
28
+     * @protected
30
      * @returns {void}
29
      * @returns {void}
31
      */
30
      */
32
     _doHangup() {
31
     _doHangup() {

+ 3
- 11
react/features/base/toolbox/components/AbstractToolboxItem.js 查看文件

150
     _maybeTranslateAttribute(text) {
150
     _maybeTranslateAttribute(text) {
151
         const { t } = this.props;
151
         const { t } = this.props;
152
 
152
 
153
-        if (typeof t === 'function') {
154
-            return t(text);
155
-        }
156
-
157
-        return text;
153
+        return typeof t === 'function' ? t(text) : text;
158
     }
154
     }
159
 
155
 
160
     _onClick: (*) => void;
156
     _onClick: (*) => void;
169
     _onClick(...args) {
165
     _onClick(...args) {
170
         const { disabled, onClick } = this.props;
166
         const { disabled, onClick } = this.props;
171
 
167
 
172
-        !disabled && onClick && onClick(...args);
168
+        disabled || (onClick && onClick(...args));
173
     }
169
     }
174
 
170
 
175
     /**
171
     /**
189
      * @returns {ReactElement}
185
      * @returns {ReactElement}
190
      */
186
      */
191
     render() {
187
     render() {
192
-        if (!this.props.visible) {
193
-            return null;
194
-        }
195
-
196
-        return this._renderItem();
188
+        return this.props.visible ? this._renderItem() : null;
197
     }
189
     }
198
 }
190
 }

+ 5
- 6
react/features/base/toolbox/components/AbstractVideoMuteButton.js 查看文件

17
      * Handles clicking / pressing the button, and toggles the video mute state
17
      * Handles clicking / pressing the button, and toggles the video mute state
18
      * accordingly.
18
      * accordingly.
19
      *
19
      *
20
-     * @private
20
+     * @protected
21
      * @returns {void}
21
      * @returns {void}
22
      */
22
      */
23
     _handleClick() {
23
     _handleClick() {
28
      * Indicates whether this button is in toggled state or not.
28
      * Indicates whether this button is in toggled state or not.
29
      *
29
      *
30
      * @override
30
      * @override
31
-     * @private
31
+     * @protected
32
      * @returns {boolean}
32
      * @returns {boolean}
33
      */
33
      */
34
     _isToggled() {
34
     _isToggled() {
37
 
37
 
38
     /**
38
     /**
39
      * Helper function to be implemented by subclasses, which must return a
39
      * Helper function to be implemented by subclasses, which must return a
40
-     * boolean value indicating if video is muted or not.
40
+     * {@code boolean} value indicating if video is muted or not.
41
      *
41
      *
42
-     * @abstract
43
-     * @private
42
+     * @protected
44
      * @returns {boolean}
43
      * @returns {boolean}
45
      */
44
      */
46
     _isVideoMuted() {
45
     _isVideoMuted() {
52
      * action.
51
      * action.
53
      *
52
      *
54
      * @param {boolean} videoMuted - Whether video should be muted or not.
53
      * @param {boolean} videoMuted - Whether video should be muted or not.
55
-     * @private
54
+     * @protected
56
      * @returns {void}
55
      * @returns {void}
57
      */
56
      */
58
     _setVideoMuted(videoMuted: boolean) { // eslint-disable-line no-unused-vars
57
     _setVideoMuted(videoMuted: boolean) { // eslint-disable-line no-unused-vars

+ 1
- 1
react/features/base/toolbox/components/index.js 查看文件

1
 // @flow
1
 // @flow
2
 
2
 
3
+export { default as AbstractAudioMuteButton } from './AbstractAudioMuteButton';
3
 export { default as AbstractButton } from './AbstractButton';
4
 export { default as AbstractButton } from './AbstractButton';
4
 export type { Props as AbstractButtonProps } from './AbstractButton';
5
 export type { Props as AbstractButtonProps } from './AbstractButton';
5
-export { default as AbstractAudioMuteButton } from './AbstractAudioMuteButton';
6
 export { default as AbstractHangupButton } from './AbstractHangupButton';
6
 export { default as AbstractHangupButton } from './AbstractHangupButton';
7
 export { default as AbstractVideoMuteButton } from './AbstractVideoMuteButton';
7
 export { default as AbstractVideoMuteButton } from './AbstractVideoMuteButton';

+ 1
- 3
react/features/mobile/audio-mode/components/AudioRouteButton.js 查看文件

104
      * Implements React's {@link Component#render()}.
104
      * Implements React's {@link Component#render()}.
105
      *
105
      *
106
      * @inheritdoc
106
      * @inheritdoc
107
-     * @returns {?ReactElement}
107
+     * @returns {React$Node}
108
      */
108
      */
109
     render() {
109
     render() {
110
         if (!MPVolumeView && !AudioRoutePickerDialog) {
110
         if (!MPVolumeView && !AudioRoutePickerDialog) {
111
-
112
-            // $FlowFixMe
113
             return null;
111
             return null;
114
         }
112
         }
115
 
113
 

+ 3
- 9
react/features/mobile/picture-in-picture/components/PictureInPictureButton.js 查看文件

33
     /**
33
     /**
34
      * Handles clicking / pressing the button.
34
      * Handles clicking / pressing the button.
35
      *
35
      *
36
-     * @private
36
+     * @protected
37
      * @returns {void}
37
      * @returns {void}
38
      */
38
      */
39
     _handleClick() {
39
     _handleClick() {
44
      * Implements React's {@link Component#render()}.
44
      * Implements React's {@link Component#render()}.
45
      *
45
      *
46
      * @inheritdoc
46
      * @inheritdoc
47
-     * @returns {?ReactElement}
47
+     * @returns {React$Node}
48
      */
48
      */
49
     render() {
49
     render() {
50
-        if (!this.props._enabled) {
51
-
52
-            // $FlowFixMe
53
-            return null;
54
-        }
55
-
56
-        return super.render();
50
+        return this.props._enabled ? super.render() : null;
57
     }
51
     }
58
 }
52
 }
59
 
53
 

+ 4
- 3
react/features/room-lock/components/RoomLockButton.js 查看文件

38
     /**
38
     /**
39
      * Handles clicking / pressing the button.
39
      * Handles clicking / pressing the button.
40
      *
40
      *
41
-     * @private
41
+     * @override
42
+     * @protected
42
      * @returns {void}
43
      * @returns {void}
43
      */
44
      */
44
     _handleClick() {
45
     _handleClick() {
49
      * Indicates whether this button is disabled or not.
50
      * Indicates whether this button is disabled or not.
50
      *
51
      *
51
      * @override
52
      * @override
52
-     * @private
53
+     * @protected
53
      * @returns {boolean}
54
      * @returns {boolean}
54
      */
55
      */
55
     _isDisabled() {
56
     _isDisabled() {
60
      * Indicates whether this button is in toggled state or not.
61
      * Indicates whether this button is in toggled state or not.
61
      *
62
      *
62
      * @override
63
      * @override
63
-     * @private
64
+     * @protected
64
      * @returns {boolean}
65
      * @returns {boolean}
65
      */
66
      */
66
     _isToggled() {
67
     _isToggled() {

+ 4
- 1
react/features/settings/components/web/SettingsButton.js 查看文件

11
 
11
 
12
 declare var interfaceConfig: Object;
12
 declare var interfaceConfig: Object;
13
 
13
 
14
+/**
15
+ * The type of the React {@code Component} props of {@link SettingsButton}.
16
+ */
14
 type Props = AbstractButtonProps & {
17
 type Props = AbstractButtonProps & {
15
 
18
 
16
     /**
19
     /**
41
     /**
44
     /**
42
      * Handles clicking / pressing the button, and opens the appropriate dialog.
45
      * Handles clicking / pressing the button, and opens the appropriate dialog.
43
      *
46
      *
44
-     * @private
47
+     * @protected
45
      * @returns {void}
48
      * @returns {void}
46
      */
49
      */
47
     _handleClick() {
50
     _handleClick() {

+ 5
- 2
react/features/toolbox/components/AudioMuteButton.js 查看文件

13
 import type { AbstractButtonProps } from '../../base/toolbox';
13
 import type { AbstractButtonProps } from '../../base/toolbox';
14
 import { isLocalTrackMuted } from '../../base/tracks';
14
 import { isLocalTrackMuted } from '../../base/tracks';
15
 
15
 
16
+/**
17
+ * The type of the React {@code Component} props of {@link AudioMuteButton}.
18
+ */
16
 type Props = AbstractButtonProps & {
19
 type Props = AbstractButtonProps & {
17
 
20
 
18
     /**
21
     /**
39
      * Indicates if audio is currently muted ot nor.
42
      * Indicates if audio is currently muted ot nor.
40
      *
43
      *
41
      * @override
44
      * @override
42
-     * @private
45
+     * @protected
43
      * @returns {boolean}
46
      * @returns {boolean}
44
      */
47
      */
45
     _isAudioMuted() {
48
     _isAudioMuted() {
50
      * Changes the muted state.
53
      * Changes the muted state.
51
      *
54
      *
52
      * @param {boolean} audioMuted - Whether audio should be muted or not.
55
      * @param {boolean} audioMuted - Whether audio should be muted or not.
53
-     * @private
56
+     * @protected
54
      * @returns {void}
57
      * @returns {void}
55
      */
58
      */
56
     _setAudioMuted(audioMuted: boolean) {
59
     _setAudioMuted(audioMuted: boolean) {

+ 5
- 3
react/features/toolbox/components/HangupButton.js 查看文件

4
 
4
 
5
 import { createToolbarEvent, sendAnalytics } from '../../analytics';
5
 import { createToolbarEvent, sendAnalytics } from '../../analytics';
6
 import { appNavigate } from '../../app';
6
 import { appNavigate } from '../../app';
7
-
8
 import { disconnect } from '../../base/connection';
7
 import { disconnect } from '../../base/connection';
9
 import { translate } from '../../base/i18n';
8
 import { translate } from '../../base/i18n';
10
 import { AbstractHangupButton } from '../../base/toolbox';
9
 import { AbstractHangupButton } from '../../base/toolbox';
11
 import type { AbstractButtonProps } from '../../base/toolbox';
10
 import type { AbstractButtonProps } from '../../base/toolbox';
12
 
11
 
12
+/**
13
+ * The type of the React {@code Component} props of {@link HangupButton}.
14
+ */
13
 type Props = AbstractButtonProps & {
15
 type Props = AbstractButtonProps & {
14
 
16
 
15
     /**
17
     /**
16
      * The redux {@code dispatch} function.
18
      * The redux {@code dispatch} function.
17
      */
19
      */
18
     dispatch: Function
20
     dispatch: Function
19
-}
21
+};
20
 
22
 
21
 /**
23
 /**
22
  * Component that renders a toolbar button for leaving the current conference.
24
  * Component that renders a toolbar button for leaving the current conference.
31
      * Helper function to perform the actual hangup action.
33
      * Helper function to perform the actual hangup action.
32
      *
34
      *
33
      * @override
35
      * @override
34
-     * @private
36
+     * @protected
35
      * @returns {void}
37
      * @returns {void}
36
      */
38
      */
37
     _doHangup() {
39
     _doHangup() {

+ 7
- 3
react/features/toolbox/components/VideoMuteButton.js 查看文件

17
 import type { AbstractButtonProps } from '../../base/toolbox';
17
 import type { AbstractButtonProps } from '../../base/toolbox';
18
 import { isLocalTrackMuted } from '../../base/tracks';
18
 import { isLocalTrackMuted } from '../../base/tracks';
19
 
19
 
20
+/**
21
+ * The type of the React {@code Component} props of {@link VideoMuteButton}.
22
+ */
20
 type Props = AbstractButtonProps & {
23
 type Props = AbstractButtonProps & {
21
 
24
 
22
     /**
25
     /**
48
      * Indicates if this button should be disabled or not.
51
      * Indicates if this button should be disabled or not.
49
      *
52
      *
50
      * @override
53
      * @override
51
-     * @private
54
+     * @protected
52
      * @returns {boolean}
55
      * @returns {boolean}
53
      */
56
      */
54
     _isDisabled() {
57
     _isDisabled() {
59
      * Indicates if video is currently muted ot nor.
62
      * Indicates if video is currently muted ot nor.
60
      *
63
      *
61
      * @override
64
      * @override
62
-     * @private
65
+     * @protected
63
      * @returns {boolean}
66
      * @returns {boolean}
64
      */
67
      */
65
     _isVideoMuted() {
68
     _isVideoMuted() {
69
     /**
72
     /**
70
      * Changes the muted state.
73
      * Changes the muted state.
71
      *
74
      *
75
+     * @override
72
      * @param {boolean} videoMuted - Whether video should be muted or not.
76
      * @param {boolean} videoMuted - Whether video should be muted or not.
73
-     * @private
77
+     * @protected
74
      * @returns {void}
78
      * @returns {void}
75
      */
79
      */
76
     _setVideoMuted(videoMuted: boolean) {
80
     _setVideoMuted(videoMuted: boolean) {

+ 6
- 2
react/features/toolbox/components/native/AudioOnlyButton.js 查看文件

7
 import { AbstractButton } from '../../../base/toolbox';
7
 import { AbstractButton } from '../../../base/toolbox';
8
 import type { AbstractButtonProps } from '../../../base/toolbox';
8
 import type { AbstractButtonProps } from '../../../base/toolbox';
9
 
9
 
10
+/**
11
+ * The type of the React {@code Component} props of {@link AudioOnlyButton}.
12
+ */
10
 type Props = AbstractButtonProps & {
13
 type Props = AbstractButtonProps & {
11
 
14
 
12
     /**
15
     /**
32
     /**
35
     /**
33
      * Handles clicking / pressing the button.
36
      * Handles clicking / pressing the button.
34
      *
37
      *
35
-     * @private
38
+     * @override
39
+     * @protected
36
      * @returns {void}
40
      * @returns {void}
37
      */
41
      */
38
     _handleClick() {
42
     _handleClick() {
43
      * Indicates whether this button is in toggled state or not.
47
      * Indicates whether this button is in toggled state or not.
44
      *
48
      *
45
      * @override
49
      * @override
46
-     * @private
50
+     * @protected
47
      * @returns {boolean}
51
      * @returns {boolean}
48
      */
52
      */
49
     _isToggled() {
53
     _isToggled() {

+ 6
- 2
react/features/toolbox/components/native/ToggleCameraButton.js 查看文件

8
 import type { AbstractButtonProps } from '../../../base/toolbox';
8
 import type { AbstractButtonProps } from '../../../base/toolbox';
9
 import { isLocalTrackMuted } from '../../../base/tracks';
9
 import { isLocalTrackMuted } from '../../../base/tracks';
10
 
10
 
11
+/**
12
+ * The type of the React {@code Component} props of {@link ToggleCameraButton}.
13
+ */
11
 type Props = AbstractButtonProps & {
14
 type Props = AbstractButtonProps & {
12
 
15
 
13
     /**
16
     /**
37
     /**
40
     /**
38
      * Handles clicking / pressing the button.
41
      * Handles clicking / pressing the button.
39
      *
42
      *
40
-     * @private
43
+     * @override
44
+     * @protected
41
      * @returns {void}
45
      * @returns {void}
42
      */
46
      */
43
     _handleClick() {
47
     _handleClick() {
48
      * Indicates whether this button is disabled or not.
52
      * Indicates whether this button is disabled or not.
49
      *
53
      *
50
      * @override
54
      * @override
51
-     * @private
55
+     * @protected
52
      * @returns {boolean}
56
      * @returns {boolean}
53
      */
57
      */
54
     _isDisabled() {
58
     _isDisabled() {

+ 1
- 1
react/features/toolbox/components/native/Toolbox.js 查看文件

169
  *
169
  *
170
  * @param {Object} state - The redux state of which parts are to be mapped to
170
  * @param {Object} state - The redux state of which parts are to be mapped to
171
  * {@code Toolbox} props.
171
  * {@code Toolbox} props.
172
- * @protected
172
+ * @private
173
  * @returns {{
173
  * @returns {{
174
  *     _enabled: boolean,
174
  *     _enabled: boolean,
175
  *     _visible: boolean
175
  *     _visible: boolean

+ 4
- 1
react/features/toolbox/components/web/Toolbox.js 查看文件

50
 import ToolbarButton from './ToolbarButton';
50
 import ToolbarButton from './ToolbarButton';
51
 import VideoMuteButton from '../VideoMuteButton';
51
 import VideoMuteButton from '../VideoMuteButton';
52
 
52
 
53
+/**
54
+ * The type of the React {@code Component} props of {@link Toolbox}.
55
+ */
53
 type Props = {
56
 type Props = {
54
 
57
 
55
     /**
58
     /**
169
      * Invoked to obtain translated strings.
172
      * Invoked to obtain translated strings.
170
      */
173
      */
171
     t: Function
174
     t: Function
172
-}
175
+};
173
 
176
 
174
 declare var APP: Object;
177
 declare var APP: Object;
175
 declare var interfaceConfig: Object;
178
 declare var interfaceConfig: Object;

正在加载...
取消
保存