mirror of https://github.com/trezor/trezor-wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
717 B
29 lines
717 B
6 years ago
|
import React from 'react';
|
||
|
import Icon from 'components/Icon';
|
||
|
import colors from 'config/colors';
|
||
|
import icons from 'config/icons';
|
||
|
import styled from 'styled-components';
|
||
|
import { H3 } from 'components/Heading';
|
||
|
|
||
|
const Wrapper = styled.div`
|
||
|
width: 360px;
|
||
|
padding: 24px 48px;
|
||
|
`;
|
||
|
|
||
|
const Header = styled.div``;
|
||
|
|
||
|
const Confirmation = (props) => {
|
||
|
if (!props.modal.opened) return null;
|
||
|
const { device } = props.modal;
|
||
|
|
||
|
return (
|
||
|
<Wrapper>
|
||
|
<Header>
|
||
|
<Icon icon={icons.T1} size={60} color={colors.TEXT_SECONDARY} />
|
||
|
<H3>Complete the action on { device.label } device</H3>
|
||
|
</Header>
|
||
|
</Wrapper>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default Confirmation;
|