// Copyright 2015-2018 Parity Technologies (UK) Ltd.
// This file is part of Parity.
//
// SPDX-License-Identifier: BSD-3-Clause
import React from 'react';
import PropTypes from 'prop-types';
import { Clickable, ClickToCopy } from 'fether-ui';
import { Address } from './Address';
import { Avatar } from './Avatar';
import { Card } from '../Card';
import { Information } from './Information';
import { Name } from './Name';
const CopyContainer = ({ address, children, ...otherProps }) => (
{children}
);
const CardContents = ({ address, name, screen, shortAddress, type }) => (
);
export const AccountCard = ({
address,
copyAddress,
name,
type,
screen,
shortAddress,
...otherProps
}) => (
{copyAddress ? (
) : (
)}
);
AccountCard.Address = Address;
AccountCard.Avatar = Avatar;
AccountCard.Information = Information;
AccountCard.Name = Name;
AccountCard.propTypes = {
address: PropTypes.string,
copyAddress: PropTypes.bool,
name: PropTypes.string,
screen: PropTypes.string,
shortAddress: PropTypes.bool
};