123456789101112131415161718192021222324 |
- import {css} from '@emotion/react';
- import styled from '@emotion/styled';
- import space from 'sentry/styles/space';
- const inlineStyle = p =>
- p.inline
- ? css`
- width: 50%;
- padding-right: 10px;
- flex-shrink: 0;
- `
- : css`
- margin-bottom: ${space(1)};
- `;
- const FieldDescription = styled('label')<{inline?: boolean}>`
- font-weight: normal;
- margin-bottom: 0;
- ${inlineStyle};
- `;
- export default FieldDescription;
|