The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import React from 'react';
import { styled } from '@linaria/react';
import { themeCssVariables } from 'twenty-ui/theme';
const StyledThreadMessageBodyPreview = styled.div`
color: ${themeCssVariables.font.color.tertiary};
font-size: ${themeCssVariables.font.size.sm};
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
`;
type EmailThreadMessageBodyPreviewProps = {
body: string;
};
export const EmailThreadMessageBodyPreview = ({
body,
}: EmailThreadMessageBodyPreviewProps) => {
return (
<StyledThreadMessageBodyPreview>{body}</StyledThreadMessageBodyPreview>
);
};