// Copyright 2017-2020 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import { GroupProps } from './types'; import React from 'react'; import styled from 'styled-components'; function ButtonGroup ({ children, className = '', isCentered }: GroupProps): React.ReactElement { return (
{children}
); } export default React.memo(styled(ButtonGroup)` margin: 1rem 0; text-align: right; &.isCentered { margin-bottom: 0.5rem; text-align: center; } &+.ui--Table { margin-top: 1.5rem; } .ui--Button { margin: 0 0.25rem; } `);