1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-05 14:22:35 +00:00
trezor-wallet/src/components/modals/confirm/Action/index.js
2019-03-04 13:33:02 +01:00

39 lines
867 B
JavaScript

/* @flow */
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { H3 } from 'components/Heading';
import DeviceIcon from 'components/images/DeviceIcon';
import type { TrezorDevice } from 'flowtype';
import { FormattedMessage } from 'react-intl';
import l10nMessages from './index.messages';
type Props = {
device: TrezorDevice,
};
const Wrapper = styled.div``;
const Header = styled.div`
padding: 48px;
`;
const ConfirmAction = (props: Props) => (
<Wrapper>
<Header>
<DeviceIcon device={props.device} size={100} />
<H3>
<FormattedMessage {...l10nMessages.TR_CONFIRM_ACTION_ON_YOUR} />
</H3>
</Header>
</Wrapper>
);
ConfirmAction.propTypes = {
device: PropTypes.object.isRequired,
};
export default ConfirmAction;