0048216abf
Closes #2887
17 lines
441 B
TypeScript
17 lines
441 B
TypeScript
import { css } from '@emotion/react';
|
|
import styled from '@emotion/styled';
|
|
|
|
const StyledCardContent = styled.div<{ divider?: boolean }>`
|
|
background-color: ${({ theme }) => theme.background.secondary};
|
|
padding: ${({ theme }) => theme.spacing(4)};
|
|
|
|
${({ divider, theme }) =>
|
|
divider
|
|
? css`
|
|
border-bottom: 1px solid ${theme.border.color.medium};
|
|
`
|
|
: ''}
|
|
`;
|
|
|
|
export { StyledCardContent as CardContent };
|