* ui-signer pureComponentify * ui-react pureCompify * Status queue prop * ui-app Button * ui-app InputExtrinsic * apps, app-rpc, ui-app, ui-react * app-extrinsics, app-explorer, apps * fixes for tslint * more linter fixes * Update index.tsx * Update index.tsx * Update Nonce.tsx * Update index.tsx * Update Results.tsx * Update index.tsx * Update Queries.tsx * Update NodeInfo.tsx * Update index.tsx * Update Item.tsx * style fixes * TSLINTs
27 lines
616 B
TypeScript
27 lines
616 B
TypeScript
// Copyright 2017-2018 @polkadot/ui-react authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the ISC license. See the LICENSE file for details.
|
|
|
|
import { BaseProps } from '../types';
|
|
|
|
import './Container.css';
|
|
|
|
import React from 'react';
|
|
|
|
type Props = BaseProps & {
|
|
children: any // React$Node
|
|
};
|
|
|
|
export default class Container extends React.PureComponent<Props> {
|
|
render () {
|
|
return (
|
|
<div
|
|
className={['ui--Container', this.props.className].join(' ')}
|
|
style={this.props.style}
|
|
>
|
|
{this.props.children}
|
|
</div>
|
|
);
|
|
}
|
|
}
|