* Upgrades * Add & use Output component * Render app in content * Use update @polkadot/dev-react * Add app-toolbox * DRY className concat * Hashing in place * Verify signature operational * Entry updates * Verification operational * Final cleanups before PR * Bump version
26 lines
551 B
JavaScript
26 lines
551 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 { BareProps } from '../../types';
|
|
|
|
import React from 'react';
|
|
|
|
import classes from '../../util/classes';
|
|
|
|
type Props = BareProps & {
|
|
children: React$Node
|
|
};
|
|
|
|
export default function Bare ({ children, className, style }: Props): React$Node {
|
|
return (
|
|
<div
|
|
className={classes('ui--row', className)}
|
|
style={style}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|