textBlock.tsx 273 B

1234567891011121314
  1. import styled from '@emotion/styled';
  2. import {space} from 'sentry/styles/space';
  3. type Props = {
  4. noMargin?: boolean;
  5. };
  6. const TextBlock = styled('div')<Props>`
  7. line-height: 1.5;
  8. ${p => (p.noMargin ? '' : 'margin-bottom:' + space(3))};
  9. `;
  10. export default TextBlock;