|
|
@@ -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);
|