Files
twenty/packages/twenty-front/src/modules/ui/layout/card/components/CardContent.tsx
T

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 };