A Metamask fork with Infura removed and default networks editable
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.
 
 
 
 
 
ciphermask/ui/components/app/signature-request/signature-request-header/signature-request-header.co...

25 lines
728 B

import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import AccountListItem from '../../account-list-item';
import NetworkDisplay from '../../network-display';
export default class SignatureRequestHeader extends PureComponent {
static propTypes = {
fromAccount: PropTypes.object,
};
render() {
const { fromAccount } = this.props;
return (
<div className="signature-request-header">
<div className="signature-request-header--account">
{fromAccount && <AccountListItem account={fromAccount} />}
</div>
<div className="signature-request-header--network">
<NetworkDisplay colored={false} />
</div>
</div>
);
}
}