@metamask/design-system-react-native
Version:
1 lines • 1.3 kB
Source Map (JSON)
{"version":3,"file":"AvatarAccount.types.cjs","sourceRoot":"","sources":["../../../src/components/AvatarAccount/AvatarAccount.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { AvatarAccountVariant } from '../../types';\nimport type { AvatarBaseProps } from '../AvatarBase';\nimport type { BlockiesProps } from '../temp-components/Blockies';\nimport type { JazziconProps } from '../temp-components/Jazzicon';\nimport type { MaskiconProps } from '../temp-components/Maskicon';\n\n/**\n * AvatarAccount component props.\n */\nexport type AvatarAccountProps = {\n /**\n * Required address used as a unique identifier to generate the AvatarAccount art.\n */\n address: string;\n /**\n * Optional prop to control the variant of the avatar account\n *\n * @default AvatarAccountVariant.Jazzicon\n */\n variant?: AvatarAccountVariant;\n /**\n * Optional props to be passed to the Blockies component\n */\n blockiesProps?: Partial<BlockiesProps>;\n /**\n * Optional props to be passed to the Jazzicon component\n */\n jazziconProps?: Partial<JazziconProps>;\n /**\n * Optional props to be passed to the Maskicon component\n */\n maskiconProps?: Partial<MaskiconProps>;\n} & Omit<AvatarBaseProps, 'children' | 'fallbackText' | 'fallbackTextProps'>;\n"]}