@metamask/design-system-react-native
Version:
21 lines • 742 B
text/typescript
import type { AvatarBaseProps } from "../AvatarBase/index.mjs";
import type { ImageOrSvgProps, ImageOrSvgSrc } from "../temp-components/ImageOrSvg/index.mjs";
/**
* AvatarFavicon component props.
*/
export type AvatarFaviconProps = {
/**
* Optional prop for the source of the image or SVG
*/
src?: ImageOrSvgSrc;
/**
* Optional props for favicon 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=AvatarFavicon.types.d.mts.map