Skip to content

The open alternative to Salesforce, designed for AI.

630 B
Raw Blame
import { styled } from '@linaria/react';
import { type ReactNode } from 'react';
import { Card } from 'twenty-ui/primitives/surfaces';
import { themeCssVariables } from 'twenty-ui/theme';

const StyledFieldsCard = styled(Card.Root)`
  display: flex;
  flex-direction: column;
  gap: ${themeCssVariables.spacing[1]};
  padding: ${themeCssVariables.spacing[2]};
`;

type LogConsoleFieldsCardProps = {
  children: ReactNode;
};

export const LogConsoleFieldsCard = ({
  children,
}: LogConsoleFieldsCardProps) => (
  <StyledFieldsCard backgroundColor={themeCssVariables.background.secondary}>
    {children}
  </StyledFieldsCard>
);