ghost-portal/packages/react-components/src/Modal/Actions.tsx
Jaco 4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00

29 lines
612 B
TypeScript

// Copyright 2017-2023 @polkadot/react-components authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ActionsProps } from './types';
import React from 'react';
import styled from 'styled-components';
import Button from '../Button';
function Actions ({ children, className = '' }: ActionsProps) {
return (
<div className={className}>
<Button.Group>
{children}
</Button.Group>
</div>
);
}
export default React.memo(styled(Actions)`
background-color: var(--bg-input);
border-radius: 0 0 4px 4px;
.ui--Button-Group {
margin: 1rem 1rem;
}
`);