Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AvatarProps

Index

Properties

Optional address

address: undefined | string

A blockchain address to create an identicon

Optional backgroundColor

backgroundColor: undefined | string

Provide custom background color. Only visible in text avatars

Optional border

border: undefined | false | true

Show a border around the avatar

Optional gravatarType

gravatarType: "identicon" | "monsterid" | "wavatar" | "retro" | "robohash" | "blank"

Specify the type of gravatar to be displayed

Optional size

size: undefined | number

Avatar size. default 32

Optional source

source: ImageSourcePropType

Standard image source type prop

theme

theme: any

Theme properties passed in by HOC. Can ignore.

Optional title

title: undefined | string

Title for avatar. Gets shortened to first 2 letters. eg.'Sa' Useful for usernames.

Optional type

type: "circle" | "square" | "rounded"

Rounded or squared.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc