import React from 'react'; import { Testable, useBuildTestId } from '../../modules/testing'; import { Icon } from '../Icon'; import { AppLogoContainer, AppLogoText } from './styles'; type Props = Testable & { productName?: string; onClick?: () => void; className?: string }; export const AppLogo = ({ onClick, 'data-testid': testId, productName, className }: Props) => { const { buildTestId } = useBuildTestId({ id: testId }); return ( {productName && {productName}} ); };