/* @flow */ import React from 'react'; import styled from 'styled-components'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import colors from 'config/colors'; import icons from 'config/icons'; import { FONT_SIZE } from 'config/variables'; import Icon from 'components/Icon'; import Button from 'components/Button'; import P from 'components/Paragraph'; import { H2 } from 'components/Heading'; import * as WalletActions from 'actions/WalletActions'; const Wrapper = styled.div` width: 100%; height: 100%; top: 0px; left: 0px; background: rgba(0, 0, 0, 0.35); display: flex; flex-direction: column; align-items: center; overflow: auto; padding: 20px; `; const ModalWindow = styled.div` margin: auto; position: relative; border-radius: 4px; background-color: ${colors.WHITE}; text-align: center; width: 100%; max-width: 620px; padding: 30px 48px; `; const StyledP = styled(P)` padding: 10px 0px; font-size: ${FONT_SIZE.BASE}; `; const StyledButton = styled(Button)` margin: 10px 0px; width: 100%; `; const StyledIcon = styled(Icon)` position: relative; top: -1px; `; const BetaDisclaimer = (props: { close: () => void }) => (

You are opening Trezor Beta Wallet

Trezor Beta Wallet is a public feature-testing version of the Trezor Wallet, offering the newest features before they are available to the general public. In contrast, Trezor Wallet is feature-conservative, making sure that its functionality is maximally reliable and dependable for the general public. Please note that the Trezor Beta Wallet might be collecting anonymized usage data, especially error logs, for development purposes. The Trezor Wallet does not log any data. OK, I understand
); export default connect( null, (dispatch: Dispatch) => ({ close: bindActionCreators(WalletActions.hideBetaDisclaimer, dispatch), }), )(BetaDisclaimer);