mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
15 lines
273 B
TypeScript
15 lines
273 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import {space} from 'sentry/styles/space';
|
|
|
|
type Props = {
|
|
noMargin?: boolean;
|
|
};
|
|
|
|
const TextBlock = styled('div')<Props>`
|
|
line-height: 1.5;
|
|
${p => (p.noMargin ? '' : 'margin-bottom:' + space(3))};
|
|
`;
|
|
|
|
export default TextBlock;
|