import styled from 'styled-components'; import { HTMLAttributes, ComponentClass } from 'react'; import { borderRadius } from '@atlaskit/theme/constants'; import { Wrapper as WrapperDefault } from '../styles'; export const Wrapper: ComponentClass> = styled( WrapperDefault, )` cursor: pointer; display: inline-flex; margin: 1px; > img { border-radius: ${borderRadius()}px; } &::after, &::before { vertical-align: text-top; display: inline-block; width: 1px; content: ''; } &.with-children { padding: 0; background: white; } `;