import { ConnectedAccount } from '@/accounts/types/ConnectedAccount'; import { SettingsAccountsConnectedAccountsRowRightContainer } from '@/settings/accounts/components/SettingsAccountsConnectedAccountsRowRightContainer'; import { SettingsConnectedAccountIcon } from '@/settings/accounts/components/SettingsConnectedAccountIcon'; import { TableCell } from '@/ui/layout/table/components/TableCell'; import { TableRow } from '@/ui/layout/table/components/TableRow'; import { useTheme } from '@emotion/react'; import styled from '@emotion/styled'; const StyledNameCell = styled.div` align-items: center; color: ${({ theme }) => theme.font.color.primary}; display: flex; gap: ${({ theme }) => theme.spacing(1)}; `; const StyledTableRow = styled(TableRow)` &:hover { background: ${({ theme }) => theme.background.transparent.light}; cursor: pointer; } `; type SettingsConnectedAccountsTableRowProps = { account: ConnectedAccount; }; export const SettingsConnectedAccountsTableRow = ({ account, }: SettingsConnectedAccountsTableRowProps) => { const theme = useTheme(); const IconComponent = SettingsConnectedAccountIcon({ account }); return ( {account.handle} ); };