Skip to main content
Version: 1.x.x

ProfilePicture

Properties

user

required

quip.apps.User

The user object to show a profile picture for.

size

required

number

A size in px that is used for the profile picture width and height.

round

optional

boolean = false

If set to true, the picture will be rendered inside a circle (defaults to square if set to false or not provided).

fallbackToInitials

optional

boolean = true

If the user doesn't have a profile picture, we will render their initials as the profile picture if this is true (or not provided). Otherwise we will render the default placeholder profile picture.