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