// Copyright 2015-2018 Parity Technologies (UK) Ltd. // This file is part of Parity. // // SPDX-License-Identifier: BSD-3-Clause import React from 'react'; import Blockies from 'react-blockies'; import PropTypes from 'prop-types'; import Card from '../Card'; import Placeholder from '../Placeholder'; const AccountCard = ({ address, animate, name, ...otherProps }) => (
{address ? ( ) : ( )}
{name ? (
{name}
) : ( )}
{address || }
); AccountCard.propTypes = { address: PropTypes.string, name: PropTypes.string }; export default AccountCard;