Flatten components

This commit is contained in:
Jaco Greeff 2018-04-18 17:52:23 +02:00
parent 0e2b6b9a8e
commit c9ffe7a2de
12 changed files with 13 additions and 68 deletions

View File

@ -5,14 +5,12 @@
import type { BaseProps } from '@polkadot/portal/types';
import './Account.css';
import React from 'react';
import Label from 'semantic-ui-react/dist/es/elements/Label';
import Balance from '@polkadot/rx-react/Balance';
import withObservableParams from '@polkadot/rx-react/with/observableParams';
import InputAddress from '../InputAddress';
import InputAddress from './InputAddress';
type Props = BaseProps & {
label: string,

View File

@ -1,6 +0,0 @@
/* 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. */
.testing--Account {
}

View File

@ -5,14 +5,12 @@
import type { BaseProps } from '@polkadot/portal/types';
import './App.css';
import React from 'react';
import CallDisplay from '../CallDisplay';
import CallSelect from '../CallSelect';
import Nonce from '../Nonce';
import Sender from '../Sender';
import CallDisplay from './CallDisplay';
import CallSelect from './CallSelect';
import Nonce from './Nonce';
import Sender from './Sender';
type Props = BaseProps & {};

View File

@ -1,13 +0,0 @@
/* 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. */
.testing--App {
padding: 0;
}
.testing--App-BestNumber {
margin-bottom: 1rem;
opacity: 0.5;
text-align: right;
}

View File

@ -5,14 +5,12 @@
import type { BaseProps } from '@polkadot/portal/types';
import './CallSelect.css';
import React from 'react';
import Dropdown from 'semantic-ui-react/dist/es/modules/Dropdown';
import Label from 'semantic-ui-react/dist/es/elements/Label';
import extrinsicName from '../subject/extrinsicName';
import calls from '../calls';
import extrinsicName from './subject/extrinsicName';
import calls from './calls';
type Props = BaseProps & {};

View File

@ -1,6 +0,0 @@
/* 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. */
.testing--CallSelect {
}

View File

@ -5,16 +5,14 @@
import type { BaseProps } from '@polkadot/portal/types';
import './Nonce.css';
import React from 'react';
import Label from 'semantic-ui-react/dist/es/elements/Label';
import RxNonce from '@polkadot/rx-react/Nonce';
import withObservableParams from '@polkadot/rx-react/with/observableParams';
import u8aToBn from '@polkadot/util/u8a/toBn';
import addrSender from '../subject/addrSender';
import nonceSender from '../subject/nonceSender';
import addrSender from './subject/addrSender';
import nonceSender from './subject/nonceSender';
type Props = BaseProps & {};

View File

@ -1,6 +0,0 @@
/* 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. */
.testing--Sender {
}

View File

@ -5,12 +5,10 @@
import type { BaseProps } from '@polkadot/portal/types';
import './Recipient.css';
import React from 'react';
import Account from '../Account';
import addrRecipient from '../subject/addrRecipient';
import Account from './Account';
import addrRecipient from './subject/addrRecipient';
type Props = BaseProps & {};

View File

@ -1,6 +0,0 @@
/* 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. */
.testing--Recipient {
}

View File

@ -5,12 +5,10 @@
import type { BaseProps } from '@polkadot/portal/types';
import './Sender.css';
import React from 'react';
import Account from '../Account';
import addrSender from '../subject/addrSender';
import Account from './Account';
import addrSender from './subject/addrSender';
type Props = BaseProps & {};

View File

@ -1,6 +0,0 @@
/* 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. */
.testing--Sender {
}