ghost-portal/packages/app-123code/src/Summary.tsx
Jaco Greeff c76161263b
Small rework of styled (to bottom) (#1310)
* Small rework of styled (to bottom)

* Add isRoot to council
2019-06-19 17:31:31 +02:00

33 lines
704 B
TypeScript

// Copyright 2017-2019 @polkadot/app-123code authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BareProps } from '@polkadot/ui-app/types';
import React from 'react';
import styled from 'styled-components';
type Props = BareProps & {
children: React.ReactNode
};
class Summary extends React.PureComponent<Props> {
render () {
const { children, className, style } = this.props;
return (
<div
className={className}
style={style}
>
{children}
</div>
);
}
}
export default styled(Summary)`
opacity: 0.5;
padding: 1rem 1.5rem;
`;