@metamask/design-system-react-native
Version:
33 lines • 1.22 kB
text/typescript
import type { AvatarAccountVariant } from "../../types/index.cjs";
import type { AvatarBaseProps } from "../AvatarBase/index.cjs";
import type { BlockiesProps } from "../temp-components/Blockies/index.cjs";
import type { JazziconProps } from "../temp-components/Jazzicon/index.cjs";
import type { MaskiconProps } from "../temp-components/Maskicon/index.cjs";
/**
* AvatarAccount component props.
*/
export type AvatarAccountProps = {
/**
* Required address used as a unique identifier to generate the AvatarAccount art.
*/
address: string;
/**
* Optional prop to control the variant of the avatar account
*
* @default AvatarAccountVariant.Jazzicon
*/
variant?: AvatarAccountVariant;
/**
* Optional props to be passed to the Blockies component
*/
blockiesProps?: Partial<BlockiesProps>;
/**
* Optional props to be passed to the Jazzicon component
*/
jazziconProps?: Partial<JazziconProps>;
/**
* Optional props to be passed to the Maskicon component
*/
maskiconProps?: Partial<MaskiconProps>;
} & Omit<AvatarBaseProps, 'children' | 'fallbackText' | 'fallbackTextProps'>;
//# sourceMappingURL=AvatarAccount.types.d.cts.map