All files / libs/tenants/users/profile/components/src/lib/integrations/logos UserNoIntegrationsLogo.tsx

100% Statements 23/23
100% Branches 2/2
100% Functions 1/1
100% Lines 23/23

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 241x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import { css } from '@emotion/react';
import { memo } from 'react';
 
import { UserExternalIdSourceLogo } from '@amalia/data-capture/connectors/assets';
import { UserExternalIdSource } from '@amalia/tenants/users/types';
 
import { testIds } from './test-ids';
 
export const UserNoIntegrationsLogo = memo(function UserNoIntegrationsLogo() {
  return (
    <UserExternalIdSourceLogo
      data-testid={testIds.noIntegrations}
      externalIdSource={UserExternalIdSource.NONE}
      css={(theme) => css`
        color: ${theme.ds.colors.gray[600]};
 
        [data-color-scheme='dark'] & {
          color: ${theme.ds.colors.gray[500]};
        }
      `}
    />
  );
});