blob: 998e6ad278ae91b4dd00c042e7e4badfbeaccfc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import styled from 'styled-components';
import { colors } from '../../config.json';
import { messages } from '../../shared/gettext';
const StyledBetaLabel = styled.span({
display: 'inline-block',
fontFamily: 'Open Sans',
color: colors.blue,
fontSize: '13px',
fontWeight: 800,
lineHeight: '20px',
padding: '2px 0',
background: colors.yellow,
borderRadius: '5px',
width: '50px',
textAlign: 'center',
});
interface IBetaLabelProps {
className?: string;
}
export default function BetaLabel(props: IBetaLabelProps) {
return <StyledBetaLabel {...props}>{messages.gettext('BETA')}</StyledBetaLabel>;
}
|