Переглянути джерело

feat(toolbox) removed unused BetaTag component and styles

factor2
Calin Chitu 3 роки тому
джерело
коміт
744bcc3b66

+ 0
- 40
react/features/base/toolbox/components/BetaTag.js Переглянути файл

@@ -1,40 +0,0 @@
1
-// @flow
2
-
3
-import React, { Component } from 'react';
4
-
5
-import { translate } from '../../i18n';
6
-import { Container, Text } from '../../react';
7
-
8
-type Props = {
9
-
10
-    /**
11
-     * Invoked to obtain translated strings.
12
-     */
13
-    t: Function
14
-};
15
-
16
-/**
17
- * Creates a ReactElement for showing a ToolboxItem is for a beta feature.
18
- *
19
- * @augments {Component}
20
- */
21
-class BetaTag extends Component<Props> {
22
-
23
-    /**
24
-     * Implements React's {@link Component#render()}.
25
-     *
26
-     * @inheritdoc
27
-     * @returns {ReactElement}
28
-     */
29
-    render() {
30
-        return (
31
-            <Container className = 'beta-tag'>
32
-                <Text>
33
-                    { this.props.t('recording.beta') }
34
-                </Text>
35
-            </Container>
36
-        );
37
-    }
38
-}
39
-
40
-export default translate(BetaTag);

+ 0
- 1
react/features/base/toolbox/components/index.js Переглянути файл

@@ -5,5 +5,4 @@ export { default as AbstractButton } from './AbstractButton';
5 5
 export type { Props as AbstractButtonProps } from './AbstractButton';
6 6
 export { default as AbstractHangupButton } from './AbstractHangupButton';
7 7
 export { default as AbstractVideoMuteButton } from './AbstractVideoMuteButton';
8
-export { default as BetaTag } from './BetaTag';
9 8
 export * from './_';

+ 0
- 13
react/features/recording/components/LiveStream/native/styles.js Переглянути файл

@@ -25,19 +25,6 @@ export const TOUCHABLE_UNDERLAY = ColorPalette.lightGrey;
25 25
  * The styles of the React {@code Components} of LiveStream.
26 26
  */
27 27
 export default createStyleSheet({
28
-    betaTag: {
29
-        backgroundColor: ColorPalette.darkGrey,
30
-        borderRadius: 2,
31
-        marginLeft: 16,
32
-        opacity: 0.90,
33
-        paddingLeft: 6,
34
-        paddingRight: 6
35
-    },
36
-
37
-    betaTagText: {
38
-        color: ColorPalette.white,
39
-        fontWeight: 'bold'
40
-    },
41 28
 
42 29
     /**
43 30
      * Generic component to wrap form sections into achieving a unified look.

Завантаження…
Відмінити
Зберегти