import { SettingsSummaryCard } from '@/settings/components/SettingsSummaryCard'; import { SettingsIntegrationDatabaseConnectionSyncStatus } from '@/settings/integrations/database-connection/components/SettingsIntegrationDatabaseConnectionSyncStatus'; import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown'; import { DropdownMenu } from '@/ui/layout/dropdown/components/DropdownMenu'; import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer'; import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem'; import styled from '@emotion/styled'; import { IconDotsVertical, IconPencil, IconTrash, LightIconButton, UndecoratedLink, } from 'twenty-ui'; type SettingsIntegrationDatabaseConnectionSummaryCardProps = { databaseLogoUrl: string; connectionId: string; connectionLabel: string; onRemove: () => void; }; const StyledDatabaseLogoContainer = styled.div` align-items: center; display: flex; height: ${({ theme }) => theme.spacing(4)}; justify-content: center; width: ${({ theme }) => theme.spacing(4)}; `; const StyledDatabaseLogo = styled.img` height: 100%; `; export const SettingsIntegrationDatabaseConnectionSummaryCard = ({ databaseLogoUrl, connectionId, connectionLabel, onRemove, }: SettingsIntegrationDatabaseConnectionSummaryCardProps) => { const dropdownId = 'settings-integration-database-connection-summary-card-dropdown'; return ( {connectionLabel} } rightComponent={ <> } dropdownComponents={ } /> } /> ); };