Constructor
# <MemberCard name roles profilePictureSrc color />
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
name |
string | Yes | The member's name | |
roles |
string | Yes | The member's role(s) (e.g. alto) | |
profilePictureSrc |
string | No | The member's profile picture file path | |
color |
enum | Yes | The background color of the component. See options. |
Members
# state
MemberCard component state
Properties:
Name | Type | Description |
---|---|---|
profilePicLoadError |
boolean | Indicates if there was an error loading the member's profile picture |