The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { type ApplicationDisplayData } from '@/applications/types/ApplicationDisplayData';
import { AppChip } from '@/applications/components/AppChip';
import { themeCssVariables } from 'twenty-ui/theme';
import { styled } from '@linaria/react';
type ApplicationDisplayProps = {
application?: ApplicationDisplayData;
};
const StyledAppChip = styled(AppChip)`
color: ${themeCssVariables.font.color.primary};
font-size: ${themeCssVariables.font.size.md};
gap: ${themeCssVariables.spacing[2]};
`;
export const ApplicationDisplay = ({
application,
}: ApplicationDisplayProps) => {
return (
<StyledAppChip
size="md"
applicationId={application?.id}
logoUrl={application?.logoUrl}
fallbackApplicationData={{
name: application?.name,
}}
/>
);
};