23 lines
489 B
TypeScript
23 lines
489 B
TypeScript
// Copyright 2017-2022 @polkadot/react-params authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React from 'react';
|
|
import styled from 'styled-components';
|
|
|
|
interface Props {
|
|
children?: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
function Bare ({ children, className = '' }: Props): React.ReactElement<Props> {
|
|
return (
|
|
<div className={`ui--row ${className}`}>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default React.memo(styled(Bare)`
|
|
position: relative;
|
|
`);
|