Avatar
The Avatar component is a subcomponent that is part of all preset themes. It is used to render a user's profile picture.
Our preset themes pass the following props to the Avatar component. You can change the props it receives by updating the places in the theme where the component is invoked.
| Name | Type | Description |
|---|---|---|
| photoUrl | string | The conversation being rendered |
| float | "left" | "right" | Whether to float the avatar left or right |
The Avatar subcomponent is used in multiple places within the theme. The available system components depend on the top-level component that renders it. The only system components that are always available are globally available system components.