UNPKG

@metamask/design-system-react-native

Version:
21 lines 735 B
import type { AvatarBaseProps } from "../AvatarBase/index.cjs"; import type { ImageOrSvgProps, ImageOrSvgSrc } from "../temp-components/ImageOrSvg/index.cjs"; /** * AvatarToken component props. */ export type AvatarTokenProps = { /** * Optional prop for the source of the image or SVG. */ src?: ImageOrSvgSrc; /** * Optional props for token name, to be used to calculate the fallbackText. */ name?: string; /** * Optional prop to pass to the underlying ImageOrSvg element * Useful for overriding the default alt text which is the dapp name */ imageOrSvgProps?: Partial<ImageOrSvgProps>; } & Omit<AvatarBaseProps, 'children'>; //# sourceMappingURL=AvatarToken.types.d.cts.map