ghost-portal/packages/app-testing/src/Recipient/index.js
2018-04-18 11:27:55 +02:00

27 lines
634 B
JavaScript

// Copyright 2017-2018 Jaco Greeff
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// @flow
import type { BaseProps } from '@polkadot/portal/types';
import './Recipient.css';
import React from 'react';
import Account from '../Account';
import addrRecipient from '../subject/addrRecipient';
type Props = BaseProps & {};
export default function Recipient (props: Props) {
return (
<Account
{...props}
className={['testing--Recipient', props.className].join(' ')}
label='to the recipient'
subject={addrRecipient}
/>
);
}