{"version":3,"file":"AvatarFavicon.types.cjs","sourceRoot":"","sources":["../../../src/components/AvatarFavicon/AvatarFavicon.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { AvatarFaviconPropsShared } from '@metamask/design-system-shared';\nimport type { ComponentProps } from 'react';\n\nimport type { AvatarBaseProps } from '../AvatarBase';\n\n/**\n * AvatarFavicon component props (React platform-specific)\n * Extends shared props from @metamask/design-system-shared with React-specific platform concerns\n */\nexport type AvatarFaviconProps = Omit<\n  ComponentProps<'img'>,\n  'children' | 'size'\n> &\n  Omit<AvatarBaseProps, 'children'> &\n  AvatarFaviconPropsShared & {\n    /**\n     * Optional URL for the dapp favicon/logo\n     * When provided, displays the image instead of fallback text\n     */\n    src?: string;\n    /**\n     * Optional prop to pass to the underlying img element\n     * Useful for overriding the default alt text which is the dapp name\n     */\n    imageProps?: ComponentProps<'img'> & {\n      'data-testid'?: string;\n    };\n  };\n"]}