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.
trezor-wallet/src/js/components/wallet/Acquire.js

40 lines
989 B

6 years ago
/* @flow */
'use strict';
import React from 'react';
6 years ago
import { Notification } from '../common/Notification';
6 years ago
const Acquire = (props: any): any => {
6 years ago
const actions = [
{
label: 'Acquire device',
callback: () => {
props.acquireDevice()
}
}
];
6 years ago
return (
<section className="acquire">
6 years ago
<Notification
title="Device is used in other window"
message="Do you want to use your device in this window?"
className="info"
cancelable={false}
actions={actions}
close={ () => {} }
/>
{/* <div className="warning">
6 years ago
<div>
6 years ago
<h2></h2>
<p></p>
6 years ago
</div>
<button onClick={ event => props.acquireDevice() }>Acquire device</button>
6 years ago
</div> */}
6 years ago
</section>
);
}
export default Acquire;