mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
16 lines
318 B
TypeScript
16 lines
318 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import {space} from 'sentry/styles/space';
|
|
import textStyles from 'sentry/styles/text';
|
|
|
|
type BaseProps = {
|
|
withPadding?: boolean;
|
|
};
|
|
|
|
const PanelBody = styled('div')<BaseProps>`
|
|
${p => p.withPadding && `padding: ${space(2)}`};
|
|
${textStyles};
|
|
`;
|
|
|
|
export default PanelBody;
|