mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-05 14:22:35 +00:00
34 lines
708 B
JavaScript
34 lines
708 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';
|
|
|
|
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>Confirm action on your Trezor</H3>
|
|
</Header>
|
|
</Wrapper>
|
|
);
|
|
|
|
ConfirmAction.propTypes = {
|
|
device: PropTypes.object.isRequired,
|
|
};
|
|
|
|
|
|
export default ConfirmAction; |